Part Number Hot Search : 
BT261 BDY37A X0405 GSX8A MT9671 AV300 C2611 0213800P
Product Description
Full Text Search
 

To Download MAX11008 Datasheet File

  If you can't view the Datasheet, Please click here to try to view without PDF Reader .  
 
 


  Datasheet File OCR Text:
 19-4371; Rev 0; 11/08
Dual RF LDMOS Bias Controller with Nonvolatile Memory
General Description
The MAX11008 controller biases RF LDMOS power devices found in cellular base stations and other wireless infrastructure equipment. Each controller includes a high-side current-sense amplifier with programmable gains of 2, 10, and 25 to monitor the LDMOS drain current over a range of 20mA to 5A. The MAX11008 supports up to two external diode-connected transistors to monitor the LDMOS temperatures while an internal temperature sensor measures the local die temperature. A 12-bit successive-approximation register (SAR) analogto-digital converter (ADC) converts the analog signals from the programmable-gain amplifiers (PGAs), external temperature sensors, internal temperature measurement, and two additional auxiliary inputs. The MAX11008 automatically adjusts the LDMOS bias voltages by applying temperature, AIN, and/or drain current samples to data stored in lookup tables (LUTs). The MAX11008 includes two gate-drive channels, each consisting of a 12-bit DAC to generate the positive gate voltage for biasing the LDMOS devices. Each gatedrive output supplies up to 2mA of gate current. The gate-drive amplifier is current-limited to 25mA and features a fast clamp to AGND. The MAX11008 contains 4Kb of on-chip, nonvolatile EEPROM organized as 256 bits x 16 bits to store LUTs and register information. The device operates from either a 4-wire 16MHz SPITM-/MICROWIRETM-compatible or an I2C-compatible serial interface. The MAX11008 operates from a +4.75V to +5.25V analog supply with a typical supply current of 2mA, and a +2.7V to +5.25V digital supply with a typical supply of 3mA. The device is packaged in a 48-pin, 7mm x 7mm, thin QFN package and operates over the extended (-40C to +85C) temperature range.
Features
On-Chip 4Kb EEPROM for Storing LDMOS Bias Characteristics Integrated High-Side Current-Sense PGA with Gain of 2, 10, or 25 0.75% Accuracy for Sense Voltage Between +75mV and +1250mV Full-Scale Sense Voltage +100mV with a Gain of 25 +250mV with a Gain of 10 +1250mV with a Gain of 2 Common-Mode Range, LDMOS Drain Voltage: +5V to +32V Adjustable Low-Noise 0 to AVDD Output Gate Bias Voltage Range Fast Clamp to AGND for LDMOS Protection 12-Bit DAC Control of Gate with Temperature Internal Die Temperature Measurement 2-Channel External Temperature Measurement through Remote Diodes Internal 12-Bit ADC Measurement for Temperature, Current, and Voltage Monitoring User-Selectable Serial Interface 400kHz/1.7MHz/3.4MHz I2C-Compatible Interface 16MHz SPI-/MICROWIRE-Compatible Interface
MAX11008
Applications
Cellular Base Stations Microwave Radio Links Feed-Forward Power Amps Transmitters Industrial Process Control
PART MAX11008BETM+
Ordering Information
PIN-PACKAGE 48 TQFN-EP* TEMP ERROR (C) 3
+Denotes a lead-free/RoHS-compliant package. *EP = Exposed pad.
Note: The device is specified over the -40C to +85C operating temperature range.
SPI is a trademark of Motorola, Inc. MICROWIRE is a trademark of National Semiconductor Corp.
________________________________________________________________ Maxim Integrated Products
1
For pricing, delivery, and ordering information, please contact Maxim Direct at 1-888-629-4642, or visit Maxim's website at www.maxim-ic.com.
Dual RF LDMOS Bias Controller with Nonvolatile Memory MAX11008
ABSOLUTE MAXIMUM RATINGS
AVDD to AGND .........................................................-0.3V to +6V DVDD to DGND.........................................................-0.3V to +6V AGND to DGND.....................................................-0.3V to +0.3V CS_+, CS_- to AGND .............................................-0.3V to +34V CS_+ to CS_If CS_+ > 6V .........................................................-0.3V to +6V If CS_+ 6V .......................................................-0.3V to VCS_Analog Inputs/Outputs to AGND .................................................. ...........................-0.3V to the lower of (AVDD + 0.3V) and +6V Digital Inputs/Outputs to DGND (except SDA/DIN and SCL/SCLK)............................................ ............................-0.3V to the lower of (DVDD+ 0.3V) and +6V SDA/DIN and SCL/SCLK to DGND ..........................-0.3V to +6V Continuous Input Current (all terminals)...........................50mA Continuous Power Dissipation (TA = +70C) 48-Pin, 7mm x 7mm, TQFN (derate 27.8mW/C above +70C).....................................................................2222.2mW Operating Temperature Range ...........................-40C to +85C Junction Temperature ......................................................+150C Storage Temperature Range .............................-65C to +150C Lead Temperature (soldering, 10s) .................................+300C
Stresses beyond those listed under "Absolute Maximum Ratings" may cause permanent damage to the device. These are stress ratings only, and functional operation of the device at these or any other conditions beyond those indicated in the operational sections of the specifications is not implied. Exposure to absolute maximum rating conditions for extended periods may affect device reliability.
ELECTRICAL CHARACTERISTICS
(VCS_+ = +32V, AVDD = DVDD = +5V 5%, external VREFADC = +2.5V, external VREFDAC = +2.5V, CREF = 0.1F, CGATE_ = 0.1nF, VSENSE = VCS_+ - VCS_-, TA = -40C to +85C, unless otherwise noted. Typical values are at TA = +25C.)
PARAMETER Common-Mode Input Voltage Range Common-Mode Rejection Ratio CS_+ Input Bias Current CS_- Input Bias Current SYMBOL VCS1+, VCS2+ CMRR ICS_+ ICS_5V < VCS_+ < 32V VSENSE < 100mV over the common-mode range VSENSE < 100mV over the common-mode range Gain = 25 Full-Scale Sense Voltage Range VSENSE Gain = 10 Gain = 2 Gain = 25 Minimum Sense Voltage Range for 0.75% VSENSE Accuracy Minimum Sense Voltage Range for 2.5% VSENSE Accuracy Total PGAOUT Voltage Error PGAOUT Capacitive Load PGAOUT Settling Time Saturation Recovery Time CPGAOUT tHSCS (Note 1) Settles to within 0.5% accuracy from VSENSE = 3 x full scale < 25 < 45 Gain = 10 Gain = 2 Gain = 25 Gain = 10 Gain = 2 VSENSE = 75mV 0 0 0 75 75 75 20 20 20 0.1 CONDITIONS MIN TYP MAX UNITS
HIGH-SIDE CURRENT-SENSE PGA 5 110 135 195 1 100 250 1250 100 250 1250 100 250 1250 0.75 50 % pF s s mV mV mV 32 V dB A A
2
_______________________________________________________________________________________
Dual RF LDMOS Bias Controller with Nonvolatile Memory
ELECTRICAL CHARACTERISTICS (continued)
(VCS_+ = +32V, AVDD = DVDD = +5V 5%, external VREFADC = +2.5V, external VREFDAC = +2.5V, CREF = 0.1F, CGATE_ = 0.1nF, VSENSE = VCS_+ - VCS_-, TA = -40C to +85C, unless otherwise noted. Typical values are at TA = +25C.)
PARAMETER LDMOS GATE DRIVER (Gain = 2) IGATE_ = 0.1mA Output Gate-Drive Voltage Range VGATE_ IGATE_ = 2mA Output Impedance GATE_ Settling Time Output Capacitive Load GATE_ Noise Maximum Power-On Transient Output Short-Circuit Current Limit Total Unadjusted Error Total Unadjusted Error without Offset Drift Clamp to Zero Delay Output-Safe Switch OnResistance MONITOR ADC (DC characteristics) Resolution Differential Nonlinearity Integral Nonlinearity Offset Error Gain Error Gain Temperature Coefficient Offset Temperature Coefficient MONITOR ADC DYNAMIC CHARACTERISTICS (1kHz sine-wave input, 2.5VP-P, up to 94.4ksps) Signal-to-Noise Plus Distortion Total Harmonic Distortion Spurious-Free Dynamic Range Intermodulation Distortion Full-Power Bandwidth Full-Linear Bandwidth SINAD THD SFDR IMD fIN1 = 0.99kHz, fIN2 = 1.02kHz -3dB SINAD > 68dB Up to 5th harmonic 70 -82 86 76 1 100 dB dBc dBc dBc MHz kHz (Note 6) NADC DNLADC INLADC 2 2 0.4 0.4 (Note 5) 12 -2 +2 2 4 4 Bits LSB LSB LSB LSB ppm/C ppm/C ROPSW ISC TUE 1s, sinking or sourcing Worst case at CODE = 4063, use external reference (Note 2) RGATE_ tGATE_ CGATE_ Measured at DC RS = 500, CGATE_ = 15F, VGATE_ = 0.5V to 4.5V (Note 1) RSERIES = 0 RSERIES = 500 1kHz to 1MHz 0 0 15,000 1000 100 25 7 25 0.75 0.1 45 0.5 0.1 AVDD 0.1 V AVDD 0.75 ms nF VP-P mV mA mV SYMBOL CONDITIONS MIN TYP MAX UNITS
MAX11008
CalCODE = 2457, MaxCODE = 2867, TUENO_OFFSET use external reference, TA = +25C (Note 2) Gain = 2, MaxCODE = 2867 (Note 2) CGATE_ = 0.5nF (Note 3) VGATE_ clamped to AGND (Note 4) 15 1 300
8
mV V/C s
_______________________________________________________________________________________
3
Dual RF LDMOS Bias Controller with Nonvolatile Memory MAX11008
ELECTRICAL CHARACTERISTICS (continued)
(VCS_+ = +32V, AVDD = DVDD = +5V 5%, external VREFADC = +2.5V, external VREFDAC = +2.5V, CREF = 0.1F, CGATE_ = 0.1nF, VSENSE = VCS_+ - VCS_-, TA = -40C to +85C, unless otherwise noted. Typical values are at TA = +25C.)
PARAMETER Power-Up Time (External Reference) Power-Up Time (Internal Reference) Acquisition Time Conversion Time Aperture Delay Input Voltage Range Input Leakage Current Input Capacitance TEMPERATURE MEASUREMENTS Internal Sensor Measurement Error External Sensor Measurement Error (Note 9) Relative Temperature Accuracy Temperature Resolution External Diode Drive Current (Low) External Diode Drive Current (High) INTERNAL REFERENCE REFADC/REFDAC Output Voltage REFADC/REFDAC Temperature Coefficient REFADC/REFDAC Output Impedance Capacitive Bypass at REFADC/REFDAC Power-Supply Rejection Ratio EXTERNAL REFERENCE REFADC Input Voltage Range REFADC Input Current REFDAC Input Voltage Range REFDAC Input Current VREFADC IREFADC VREFDAC Static current when the DAC is not calibrated VREFADC = 2.5V, fSAMPLE = 100ksps Acquisition/between conversions 0.7 0.1 1.0 60 0.01 2.5 AVDD 80 V A V A PSRR AVDD = 5V 5% 270 64 VREFADC, VREFDAC TCREFADC, TCREFDAC TA = +25C 2.49 2.50 15 6.5 2.51 V ppm/C k pF dB 3.25 TA = +25C TA = TMIN to TMAX (Note 8) TA = +25C TA = TMIN to TMAX TA = TMIN to TMAX (Note 9) 0.25 1.5 1 3 0.4 1/8 4 68 75 3 C C C C/LSB A A CADCIN SYMBOL CONDITIONS MIN TYP MAX UNITS
MONITOR ADC CONVERSION RATE tPUEXT tPUINT tACQ tCONV tAD VADCIN Relative to AGND (Note 7) VIN = 0 and VIN = VAVDD 0 0.01 34 Internally clocked, TA = +25C 20 VREFADC 1.1 70 0.5 10 s s s s ns V A pF
MONITOR ADC ANALOG INPUT (ADCIN1, ADCIN2)
4
_______________________________________________________________________________________
Dual RF LDMOS Bias Controller with Nonvolatile Memory
ELECTRICAL CHARACTERISTICS (continued)
(VCS_+ = +32V, AVDD = DVDD = +5V 5%, external VREFADC = +2.5V, external VREFDAC = +2.5V, CREF = 0.1F, CGATE_ = 0.1nF, VSENSE = VCS_+ - VCS_-, TA = -40C to +85C, unless otherwise noted. Typical values are at TA = +25C.)
PARAMETER Resolution Integral Nonlinearity SYMBOL NDAC INLDAC Measured at GATE_ CONDITIONS MIN 12 2 4 1 TYP MAX UNITS Bits LSB LSB
MAX11008
GATE-DRIVER DAC DC ACCURACY
Differential Nonlinearity DNLDAC Guaranteed monotonic (Note 10) DIGITAL INPUTS (SCL/SCLK, SDA/DIN, A0/CS, A1/DOUT, A2/N.C., CNVST, OPSAFE1, OPSAFE2) SDA/DIN and SCL/SCLK only Input High Voltage VIH A0/CS, A1/DOUT, A2/N.C., CNVST, OPSAFE1, OPSAFE2 only SDA/DIN and SCL/SCLK only Input Low Voltage VIL A0/CS, A1/DOUT, A2/N.C., CNVST, OPSAFE1, OPSAFE2 only SDA/DIN and SCL/SCLK only Digital inputs at 0 or VDVDD CIN DVDD - 0.4V 0.08 x DVDD 0.1 5 0.7 x DVDD 2.3
V
0.3 x DVDD 0.7
V
Input Hysteresis Input Leakage Current Input Capacitance
VHYS
V 1 A pF
DIGITAL OUTPUTS (SDA/DIN, ALARM, BUSY, DOUT) Output High Voltage VOH ALARM and BUSY only, ISOURCE = 0.2mA SDA/DIN and A1/DOUT, ISINK = 3mA, (Note 11) ALARM and BUSY only, ISINK = 0.3mA Three-State Leakage Three-State Capacitance POWER SUPPLIES (Note 12) Analog Supply Voltage Range Digital Supply Voltage Range Analog Supply Current Digital Supply Current AVDD DVDD IAVDD IDVDD AVDD = 5V Shutdown (Note 13) DVDD = 5V Shutdown 4.75 2.7 2 0.4 3 2 5.25 AVDD + 0.3 4 2 6 32 V V mA A mA A IIL Digital inputs at 0 or DVDD 0.1 5 V 0.4 0.3 1 A pF
Output Low Voltage
VOL
V
_______________________________________________________________________________________
5
Dual RF LDMOS Bias Controller with Nonvolatile Memory MAX11008
SPI TIMING CHARACTERISTICS (Notes 14, 15, Figure 1)
(DVDD = +2.7V to +5.25V, AVDD = +4.75V to +5.25V, VDGND = VAGND = 0, external VREFADC = +2.5V, external VREFDAC = +2.5V, CREF = 0.1F, TA = -40C to +85C, unless otherwise noted.)
PARAMETER SCLK Clock Period SCLK High Time SCLK Low Time DIN to SCLK Rise Setup Time DIN to SCLK Rise Hold Time SCLK Fall to DOUT Transition CS Fall to DOUT Enable CS Rise to DOUT Disable CS Rise or Fall to SCLK Rise CS Pulse-Width High Last SCLK Rise to CS Rise SYMBOL tCP tCH tCL tDS tDH tDO tDV tTR tCSS tCSW tCSH CL = 30pF CL = 30pF CL = 30pF (Note 16) 12.5 50 0 CONDITIONS MIN 62.5 25 25 15 0 20 50 50 TYP MAX UNITS ns ns ns ns ns ns ns ns ns ns ns
I2C SLOW-/FAST-MODE TIMING CHARACTERISTICS (Notes 14, 15, Figure 4)
(DVDD = +2.7V to +5.25V, AVDD = +4.75V to +5.25V, VDGND = VAGND = 0, external VREFADC = +2.5V, external VREFDAC = +2.5V, CREF = 0.1F, TA = -40C to +85C, unless otherwise noted.)
PARAMETER SCL Clock Frequency Bus Free Time Between a STOP and START Condition Hold Time (Repeated) for START Condition Setup Time for a Repeated START Condition SCL Pulse-Width Low SCL Pulse-Width High Data Setup Time Data Hold Time SDA, SCL Rise Time SDA, SCL Fall Time SDA Fall Time Setup Time for STOP Condition Capacitive Load for Each Bus Line Pulse Width of Spikes Suppressed by the Input Filter SYMBOL fSCL tBUF tHD:STA tSU:STA tLOW tHIGH tSU:DAT tHD:DAT tR tF tF tSU:STO CB tSP (Note 20) (Note 21) (Note 17) Receiving (Note 18) Receiving (Note 18) Transmitting (Notes 18, 19) After this period, the first clock pulse is generated CONDITIONS MIN 0 1.3 0.6 0.6 1.3 0.6 100 0.004 0 0 20 + 0.1 x CB 0.6 400 50 0.9 300 300 250 TYP MAX 400 UNITS kHz s s s s s ns s ns ns ns s pF ns
6
_______________________________________________________________________________________
Dual RF LDMOS Bias Controller with Nonvolatile Memory
I2C HIGH-SPEED-MODE TIMING CHARACTERISTICS (Notes 14, 15, Figure 4)
(DVDD = +2.7V to +5.25V, AVDD = +4.75V to +5.25V, VDGND = VAGND = 0, external VREFADC = +2.5V, external VREFDAC = +2.5V, CREF = 0.1F, TA = -40C to +85C, unless otherwise noted.)
PARAMETER Serial Clock Frequency Setup Time (Repeated) START Condition Hold Time (Repeated) START Condition SCL Pulse-Width Low SCL Pulse-Width High Data Setup Time Data Hold Time SCL Rise Time SCL Rise Time SCL Fall Time SDA Rise Time SDA Fall Time Setup Time for STOP Condition Capacitive Load for Each Bus Line Pulse Width of Spikes Suppressed by the Input Filter SYMBOL fSCL tSU:STA tHD:STA tLOW tHIGH tSU:DAT tHD:DAT tRCL tRCL1 tFCL tRDA tFDA tSU:STO CB tSP (Note 20) (Note 21) 0 After a repeated START condition and after an acknowledge bit (Note 17) CONDITIONS CB = 100pF max MIN 0 160 160 160 80 10 4 10 10 10 10 10 160 100 10 0 70 40 80 40 80 80 MAX 3.4 CB = 400pF MIN 0 160 160 320 120 10 4 20 20 20 20 20 160 400 10 150 80 160 80 160 160 MAX 1.7 UNITS MHz ns ns ns ns ns ns ns ns ns ns ns ns ns ns
MAX11008
MISCELLANEOUS TIMING CHARACTERISTICS (Note 15)
(DVDD = +2.7V to +5.25V, AVDD = +4.75V to +5.25V, VDGND = VAGND = 0, external VREFADC = +2.5V, external VREFDAC = +2.5V, CREF = 0.1F, TA = -40C to +85C, unless otherwise noted.)
PARAMETER Minimum Time to Wait After a Write Command Before Reading Back Data from the Same Location CNVST Active-Low Pulse Width in ADC Clock Mode 01 CNVST Active-Low Pulse Width in ADC Clock Mode 11 to Initiate a Temperature Conversion CNVST Active-Low Pulse Width in ADC Clock Mode 11 for ADCIN1/2 Acquisition ADC Power-Up Time (External Reference) ADC Power-Up Time (Internal Reference) SYMBOL tRDBK (Note 22) CONDITIONS MIN TYP 1 MAX UNITS s
tCNV01
20
ns
tCNV11
20
ns
tACQ11A
1.5
s
tAPUEXT tAPUINT
1.1 70
s s
_______________________________________________________________________________________
7
Dual RF LDMOS Bias Controller with Nonvolatile Memory MAX11008
MISCELLANEOUS TIMING CHARACTERISTICS (Note 15) (continued)
(DVDD = +2.7V to +5.25V, AVDD = +4.75V to +5.25V, VDGND = VAGND = 0, external VREFADC = +2.5V, external VREFDAC = +2.5V, CREF = 0.1F, TA = -40C to +85C, unless otherwise noted.)
PARAMETER DAC Power-Up Time (External Reference) DAC Power-Up Time (Internal Reference) Acquisition Time (Internally Timed in ADC Clock Modes 00 or 01) Conversion Time (Internally Clocked) Delay to Start of Conversion Time Temperature Conversion Time (Internally Clocked) SYMBOL tDPUEXT tDPUINT tACQ tCONV tCONVW tCONVT Internally clocked, TA = +25C (Note 23) 1.3 70 CONDITIONS MIN TYP 2 70 0.6 10 MAX UNITS s s s s s s
Note 1: Output settles to within 0.5% of final value. Note 2: Total unadjusted errors are for the entire gate-drive channel including the 12-bit DAC, and the gate driver is measured at the GATE1 and GATE2 outputs. Note 3: VGATE_ = VDD - 0.1. Measured from when OPSAFE1 or OPSAFE2 is set high. Note 4: During power-on-reset, the output safe switch is closed. The output safe switch is opened under user software control. Note 5: Guaranteed to be 11 bits linearly accurate. Note 6: Offset nulled. Note 7: The absolute range for analog inputs is from 0 to VAVDD. Note 8: Internal temperature-sensor performance is guaranteed by design. Note 9: The MAX11008 and the external sensor are at the same ambient temperature. External sensor measurement error is tested with a diode-connected 2N3904. Note 10: Guaranteed monotonicity. Accuracy is degraded at lower VREFDAC. Note 11: SDA/DIN is an open-drain output only when in I2C mode. A1/DOUT is an open-drain output only when in SPI mode. Note 12: Supply-current limits are valid only when digital inputs are set to DGND or supply voltage. Timing specifications are only guaranteed when inputs are driven rail-to-rail. Note 13: Shutdown supply currents are typically 0.4A for AVDD; maximum specification is limited by automated test equipment. Note 14: All times are referred to the 50% point between VIH and VIL levels. Note 15: Guaranteed by design. Not production tested. Note 16: DOUT will go into three-state mode after the CS rising edge. Keep CS low long enough for the DOUT value to be sampled before it goes to three-state. Note 17: A master device must provide a hold time of at least 300ns for the SDA signal (referred to VIL of the SCL signal) to bridge the undefined region of SCL's falling edge. Note 18: tR and tF measured between 0.3 x DVDD and 0.7 x DVDD. Note 19: CB = total capacitance of one bus line in pF. For bus loads between 100pF and 400pF, the timing parameters should be linearly interpolated. Note 20: An appropriate bus pullup resistance must be selected depending on board capacitance. Note 21: Input filters on the SDA and SCL inputs suppress noise spikes less than 50ns. Note 22: When a command is written to the serial interface, the command is passed by the internal oscillator clock and executed. There is a small synchronization delay before the new value is written to the appropriate register. If the serial interface attempts to read the new value back before tRDBK, the new data is not corrupted; however, the result of the read command may not reflect the new value. Note 23: This is the minimum time from the end of a command before CNVST should be asserted. The time allows for the data from the preceding write to arrive and set up the chip in preparation for the CNVST. The time need only be observed when the write affects the ADC controls. Failure to observe this time may lead to incorrect conversions (for example, conversion of the wrong ADC channel).
8
_______________________________________________________________________________________
Dual RF LDMOS Bias Controller with Nonvolatile Memory
Typical Operating Characteristics
(AVDD = DVDD = 5V, external VREFADC = 2.5V, external VREFDAC = 2.5V, VCS_- = VCS_+ = 32V, CREF = 0.1F, TA = +25C, unless otherwise noted.)
ANALOG SUPPLY CURRENT vs. SUPPLY VOLTAGE
MAX11008 toc01
MAX11008
DIGITAL SUPPLY CURRENT vs. SUPPLY VOLTAGE
AVDD = 5V WD OSC TURNED ON 3.0
MAX11008 toc02
CURRENT-SENSE AMPLIFIER OUTPUT ERROR vs. TEMPERATURE (G = 2)
MAX11008 toc03
2.10 DVDD = 5V INT REF AND DACS TURNED ON 2.09 IAVDD (mA)
3.5
0.2
0 PGAOUT_ ERROR (%)
IDVDD (mA)
2.5
-0.2 AFTER CALIBRATION -0.4 BEFORE CALIBRATION -0.6
2.08
2.0
2.07 1.5
2.06 4.7 4.8 4.9 5.0 AVDD (V) 5.1 5.2 5.3
1.0 2.70 3.22 3.74 4.26 4.78 5.30 DVDD (V)
-0.8 -40 -10 20 50 80 110 TEMPERATURE (C)
CURRENT-SENSE AMPLIFIER OUTPUT ERROR vs. TEMPERATURE (G = 10)
MAX11008 toc04
CURRENT-SENSE AMPLIFIER OUTPUT ERROR vs. TEMPERATURE (G = 25)
MAX11008 toc05
CURRENT-SENSE AMPLIFIER OUTPUT ERROR vs. SENSE VOLTAGE (G = 2)
OUTPUT AT PGAOUT_ CMV = 32V 0.8 OUTPUT ERROR (%)
MAX11008 toc06
0.4 0.2 PGAOUT_ ERROR (%) 0 -0.2 -0.4 -0.6 -0.8 -40 -10 20 50 80 AFTER CALIBRATION BEFORE CALIBRATION
0.3
1.0
PGAOUT_ ERROR (%)
0
0.6
-0.3 AFTER CALIBRATION -0.6 BEFORE CALIBRATION
0.4
0.2
-0.9 110 -40 -10 20 50 80 110 TEMPERATURE (C) TEMPERATURE (C)
0 0 250 500 750 1000 1250 VSENSE (mV)
CURRENT-SENSE AMPLIFIER OUTPUT ERROR vs. SENSE VOLTAGE (G = 10)
MAX11008 toc07
CURRENT-SENSE AMPLIFIER OUTPUT ERROR vs. SENSE VOLTAGE (G = 25)
MAX11008 toc08
CURRENT-SENSE AMPLIFIER OUTPUT ERROR vs. CMV
VSENSE = 75mV G=2
MAX11008 toc09
1.0
OUTPUT AT PGAOUT_ CMV = 32V
5 OUTPUT AT PGAOUT_ CMV = 32V 4 OUTPUT ERROR (%)
0.30 0.25 OUTPUT ERROR (%) 0.20 0.15
0.8 OUTPUT ERROR (%)
0.6
3
0.4
2
G = 25 0.10 0.05 0 G = 10
0.2
1
0 0 50 100 150 200 250 VSENSE (mV)
0 0 20 40 60 80 100 VSENSE (mV)
5
10
15
20
25
30
35
COMMON-MODE VOLTAGE (V)
_______________________________________________________________________________________
9
Dual RF LDMOS Bias Controller with Nonvolatile Memory MAX11008
Typical Operating Characteristics (continued)
(AVDD = DVDD = 5V, external VREFADC = 2.5V, external VREFDAC = 2.5V, VCS_- = VCS_+ = 32V, CREF = 0.1F, TA = +25C, unless otherwise noted.)
CURRENT-SENSE TRANSIENT RESPONSE (G = 2)
MAX11008 toc10
CURRENT-SENSE TRANSIENT RESPONSE (G = 10)
MAX11008 toc11
CURRENT-SENSE TRANSIENT RESPONSE (G = 25)
MAX11008 toc12
VSENSE1 1V/div 0V
VSENSE1 200mV/div 0V
0V
VSENSE1 100mV/div
VPGAOUT1 1V/div 0V
VPGAOUT1 1V/div 0V
VPGAOUT1 1V/div 0V
2s/div
1s/div
1s/div
GATE VOLTAGE TOTAL UNADJUSTED ERROR vs. TEMPERATURE
MAX11008 toc13
GATE POWER-UP TIME
MAX11008 toc14
GATE_ SETTLING TIME vs. CGATE
VSCL 5V/div VSDA 5V/div
MAX11008 toc16
-3.75
2.5
-4.05
GATE_ SETTLING TIME (s)
-3.90 VGATE_ ERROR (mV)
2.0
1.5
-4.20
VGATE1 1V/div 0V
1.0 RS = 500 50% OF SDA STOP EDGE TO 0.5% OF FINAL VGATE_ 4V TRANS ON GATE_ (IODAC_) 0 100 200 300 400 500
-4.35
0.5
-4.50 -40 -11 18 47 76 105 1s/div TEMPERATURE (C)
0 CGATE_ (pF)
MAJOR CARRY TRANSITION GLITCH
MAX11008 toc17
DAC INTEGRAL NONLINEARITY vs. INPUT CODE
MAX11008 toc18
DAC DIFFERENTIAL NONLINEARITY vs. INPUT CODE
0.8 0.6 0.4 DNL (LSB) 0.2 0 -0.2 -0.4 -0.6 -0.8 -1.0
MAX11008 toc19
1.0 0.8 0.6 0.4 INL (LSB) VGATE_ 1mV/div 0.2 0 -0.2 -0.4 -0.6
1.0
CODE 7FF TO 800 CGATE_ = 100pF 10s/div
-0.8 -1.0 0 1024 2048 INPUT CODE 3072 4096
0
1024
2048 INPUT CODE
3072
4096
10
______________________________________________________________________________________
Dual RF LDMOS Bias Controller with Nonvolatile Memory
Typical Operating Characteristics (continued)
(AVDD = DVDD = 5V, external VREFADC = 2.5V, external VREFDAC = 2.5V, VCS_- = VCS_+ = 32V, CREF = 0.1F, TA = +25C, unless otherwise noted.)
ADC INTEGRAL NONLINEARITY vs. OUTPUT CODE
MAX11008 toc20
MAX11008
ADC DIFFERENTIAL NONLINEARITY vs. OUTPUT CODE
MAX11008 toc21
ADC SINAD vs. FREQUENCY
MAX11008 toc22
1.00 0.75 0.50 0.25 0 -0.25 -0.50 -0.75 -1.00 0 1024 2048 OUTPUT CODE 3072
1.00 0.75 0.50 ADC DNL (LSB)
80
75 SINAD (dB) 0 1024 2048 OUTPUT CODE 3072 4096
ADC INL (LSB)
0.25 0 -0.25 -0.50 -0.75 -1.00
70
65
60 0.1 1 10 FREQUENCY (kHz) 100 1000
4096
ADC SFDR vs. FREQUENCY
MAX11008 toc23
DIGITAL SUPPLY CURRENT vs. SAMPLING RATE
AVDD = DVDD = 5V
MAX11008 toc24
ADC INTERNAL REFERENCE VOLTAGE vs. SUPPLY VOLTAGE
AVDD = DVDD ADC REFERENCE VOLTAGE (V) 2.5024
MAX11008 toc25
100
8
2.5026
DVDD SUPPLY CURRENT (mA)
90
7
SFDR (dB)
80
6
2.5022
70
5
2.5020
60
4
50 0.1 1 10 FREQUENCY (kHz) 100 1000
3 0.1 1 10 100 1000 SAMPLING RATE (ksps)
2.5018 4.750
4.875
5.000
5.125
5.250
SUPPLY VOLTAGE (V)
______________________________________________________________________________________
11
Dual RF LDMOS Bias Controller with Nonvolatile Memory MAX11008
Typical Operating Characteristics (continued)
(AVDD = DVDD = 5V, external VREFADC = 2.5V, external VREFDAC = 2.5V, VCS_- = VCS_+ = 32V, CREF = 0.1F, TA = +25C, unless otherwise noted.)
INTERNAL REFERENCE VOLTAGE vs. TEMPERATURE
MAX11008 toc26
ADC OFFSET ERROR vs. ANALOG SUPPLY VOLTAGE
MAX11008 toc27
ADC OFFSET ERROR vs. TEMPERATURE
MAX11008 toc28
2.52
2.0
4
ADC OFFSET ERROR (LSB)
2.51
VREFADC
1.5
ADC OFFSET ERROR (LSB) 4.875 5.000 AVDD (V) 5.125 5.250
REFERENCE VOLTAGE (V)
3
2.50 VREFDAC 2.49
1.0
2
0.5
1
2.48 -50 -25 0 25 50 75 100 125 TEMPERATURE (C)
0 4.750
0 -50 -25 0 25 50 75 100 125 TEMPERATURE (C)
ADC GAIN ERROR vs. ANALOG SUPPLY VOLTAGE
MAX11008 toc29
ADC GAIN EROR vs. TEMPERATURE
MAX11008 toc30
RELATIVE TEMPERATURE ERROR vs. TEMPERATURE
0.6 RELATIVE TEMPERATURE ERROR 0.4 0.2 0 -0.2 -0.4 -0.6 -0.8 -1.0 EXTERNAL TEMP SENSOR INTERNAL TEMP SENSOR
MAX11008 toc31
3.0 2.5 ADC GAIN ERROR (LSB) 2.0 1.5 1.0 0.5 0 4.750
4 3 ADC GAIN ERROR (LSB) 2 1 0 -1 -2 -3
0.8
4.875
5.000 AVDD (V)
5.125
5.250
-50
-25
0
25
50
75
100
125
-40
-11
18
47
76
105
TEMPERATURE (C)
TEMPERATURE (C)
12
______________________________________________________________________________________
Dual RF LDMOS Bias Controller with Nonvolatile Memory
Pin Description
PIN 1, 31 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19, 25, 30, 34-39, 42, 48 20, 24 21, 22, 23 26 27 28 29 32, 33, 47 40 41 43 44 45 46 -- NAME DGND OPSAFE1 A0/CS CNVST SPI/I2C ALARM OPSAFE2 REFDAC REFADC DXP1 DXN1 DXP2 DXN2 ADCIN1 ADCIN2 PGAOUT2 GATE2 GATE1 N.C. AVDD AGND CS2+ CS2CS1CS1+ DVDD PGAOUT1 A2/N.C. SCL/SCLK SDA/DIN A1/DOUT BUSY EP FUNCTION Digital Ground. Connect both DGND inputs to the same potential. Output Safe Switch Logic Input 1. Drive OPSAFE1 high to close the output safe switch and clamp GATE1 to AGND. Drive OPSAFE1 low to open the switch. Address-Select Input 0/Chip-Select Input. In I2C mode, this is the address-select input 0. See Table 1. In SPI mode, this is the chip-select input. Active-Low Conversion Start Input. Drive CNVST low to begin a conversion when in clock modes 01 and 11. Interface-Select Input. Connect to DGND for I2C interface. Connect to DVDD for SPI interface. Alarm Output Output Safe Switch Logic Input 2. Drive OPSAFE2 high to close the output safe switch and clamp GATE2 to AGND. Drive OPSAFE2 low to open the switch. DAC Reference Input/Output ADC Reference Input/Output Temperature Diode Positive Input 1. Connect DXP1 to the anode of the external diode. Temperature Diode Negative Input 1. Connect DXN1 to the cathode of the external diode. Temperature Diode Positive Input 2. Connect DXP2 to the anode of the external diode. Temperature Diode Negative Input 2. Connect DXN2 to the cathode of the external diode. ADC Auxiliary Input 1 ADC Auxiliary Input 2 Programmable-Gain Amplifier Output 2 Gate-Drive Amplifier Output 2 Gate-Drive Amplifier Output 1 No Connection. Not internally connected. Leave unconnected. Analog-Supply Input. Connect both AVDD inputs to the same potential. Analog Ground. Connect all AGND inputs to the same potential. Current-Sense Positive Input 2. CS2+ is the external sense-resistor connection to the LDMOS 2 supply. Current-Sense Negative Input 2. CS2- is the external sense-resistor connection to the LDMOS 2 drain. Current-Sense Negative Input 1. CS1- is the external sense-resistor connection to the LDMOS 1 drain. Current-Sense Positive Input 1. CS1+ is the external sense-resistor connection to the LDMOS 1 supply. Digital-Supply Input. Connect all DVDD inputs to the same potential. Connect a 0.1F capacitor to DVDD. Programmable-Gain Amplifier Output 1 Address-Select Input 2/N.C. In I2C mode, this pin is the address-select input 2. See Table 1. In SPI mode, this is a no connection pin. Serial-Clock Input. SCL is the I2C-compatible clock input. SCLK is the SPI-compatible clock input. Serial-Data Input/Output. SDA is the I2C-compatible input/output. DIN is the SPI-compatible data input. Address-Select Input 1/Data Out. In I2C mode, this is the address-select input 1. See Table 1. In SPI mode, this is the serial-data output. Data is clocked out on the falling edge of SCLK. DOUT is a highimpedance output when CS is driven high. Busy Output. BUSY goes high to indicate activity. Exposed Pad. Connect EP to AGND. Internally connected to AGND.
MAX11008
______________________________________________________________________________________
13
Dual RF LDMOS Bias Controller with Nonvolatile Memory MAX11008
Functional Diagram
A2/N.C. A1/DOUT A0/CS DVDD PGAOUT1 AVDD
SCL/SCLK SDA/DIN SPI/I2C SERIAL INTERFACE
MAX11008
CS1+ PGA 1 CS1-
FIFO
12-BIT DAC1
AV = 2
GATE1 OPSAFE1
EEPROM
REGISTER MAP AND DIGITAL CONTROL
ALARM CS2+ BUSY PGA 2 CS2PGAOUT2
12-BIT DAC 2
AV = 2
GATE2
OPSAFE2
REFDAC EXTERNAL TEMPERATURE SENSOR PROCESSING
DXP1 DXN1 DXP2 DXN2
2.5V REFERENCE
INTERNAL TEMPERATURE SENSOR
ADCIN1 REFADC ADCIN2
MUX
12-BIT ADC
DGND
CNVST
AGND
14
______________________________________________________________________________________
Dual RF LDMOS Bias Controller with Nonvolatile Memory
Typical Application Circuits--I2C Interface
DVDD 0.1F AVDD 32V 0.1F
MAX11008
4.7k DVDD AVDD CS1+ 5V CF* SCL/SCLK SDA/DIN A0/CS A1/DOUT A2/N.C. C OPSAFE1 OPSAFE2 ALARM BUSY CNVST SPI/I2C DXP2 RF IN LDMOS 1 RF OUT CS2RF* CS2+ CF* RSENSE CS1RF* RSENSE
4.7k
MAX11008
GATE2
EXTERNAL 2.5V REFERENCE 0.1F 0.1F
REFADC DXN2 REFDAC
PGAOUT1
GATE1
PGAOUT2 DXP1 ADCIN1 ADCIN2 DGND AGND DXN1 RF IN RF OUT
LDMOS 2
*SDA RESISTOR VALUE VARIES WITH LOAD AND SCL FREQUENCY. SEE THE I2C SERIAL INTERFACE SECTION. *SELECT RF AND CF BASED ON DESIRED FILTER CUTOFF FREQUENCY WHERE fCUTOFF = 1/(2 RFCF). LIMIT RF TO 100 TO MINIMIZE OFFSET ERRORS.
______________________________________________________________________________________
15
Dual RF LDMOS Bias Controller with Nonvolatile Memory MAX11008
Typical Application Circuits--SPI Interface
DVDD 0.1F
AVDD 32V 0.1F
DVDD 5V
AVDD CS1+ CF* RSENSE
SCL/SCLK SDA/DIN A0/CS A1/DOUT
CS1RF*
CS2+ CF* CS2RSENSE
C
OPSAFE1 OPSAFE2 ALARM BUSY
RF*
MAX11008
GATE2
RF OUT CNVST RF IN DVDD SPI/I2C REFADC DXN2 REFDAC 0.1F 0.1F PGAOUT1 PGAOUT2 DXP1 ADCIN1 ADCIN2 DGND AGND DXN1 RF IN RF OUT GATE1 DXP2 LDMOS 1
EXTERNAL 2.5V REFERENCE
LDMOS 2
*SELECT RF AND CF BASED ON DESIRED FILTER CUTOFF FREQUENCY WHERE fCUTOFF = 1/(2 RFCF). LIMIT RF TO 100 TO MINIMIZE OFFSET ERRORS.
16
______________________________________________________________________________________
Dual RF LDMOS Bias Controller with Nonvolatile Memory
Detailed Description
The MAX11008 sets and controls the bias conditions for dual RF LDMOS power devices found in cellular base-station power amps. Each device includes two high-side current-sense amplifiers with programmable gains of 2, 10, and 25 to monitor the LDMOS transistor drain current over the 20mA to 5A range. Two external diode-connected transistors monitor the LDMOS transistor temperatures while an internal temperature sensor measures the local die temperature of the MAX11008. The 12-bit ADC is interfaced to a 7:1 multiplexer and converts the signals from the PGA outputs, internal and external temperature readings, or the two auxiliary analog inputs into digital data results that can be stored in the FIFO. On the control side, two gate-drive channels, driven from two 12-bit DACs and a gain stage of 2, generate a positive gate voltage bias for the LDMOS. Each gatedrive output supports up to 2mA of gate current. The gate-drive amplifier is current-limited to 25mA and features a fast clamp to analog ground that operates independently of the serial interface. The MAX11008 includes an on-chip, nonvolatile EEPROM that stores LUTs and register information. The LUTs are designed to store gate voltage vs. temperature curves for the LDMOS FET. The data is used for temperature compensation of the LDMOS FET's bias point. The LUTs can also contain compensation data for another independent parameter: either sense voltage or AIN voltage.
Digital Serial Interface
The MAX11008 features both an I2C and an SPI-compatible serial interface. Connect SPI/I2C to DGND to select the I2C serial-interface operation, or to DVDD to select the SPI serial-interface operation. Do not alter interface mode during operation.
MAX11008
SPI Serial Interface Connect SPI/I2C to DVDD to select the SPI interface. The SPI serial interface consists of a serial data input (DIN), a serial clock line (SCLK), a chip select (CS), and a serial data output (DOUT). The use of serial data output (DOUT) is optional and is only required when data is to be read back by the master device. The MAX11008 is SPI compatible within the range of VDD = +2.7V to +5.25V. DIN, SCLK, CS, and DOUT facilitate bidirectional communication between the MAX11008 and the master at rates up to 20MHz.
Figure 1 illustrates the 4-wire interface timing diagram. The MAX11008 is a transmit/receive slave-only device, relying upon a master to generate a clock signal. The master initiates data transfer on the bus and generates the SCLK signal to permit data transfer.
tCSW CS tCSS tCL SCLK tDH tDS tCH tCP tCSH tCSS
DIN
D23
D22
D1 tDO
D0 tTR
tDV DOUT
Figure 1. SPI Serial-Interface Timing
______________________________________________________________________________________
17
Dual RF LDMOS Bias Controller with Nonvolatile Memory MAX11008
The SPI bus cycles are 24 bits long. Data can be supplied as three 8-bit bytes or as a continuous 24-bit stream. CS must remain low throughout the 24-bit sequence. The first 8-bit byte is a command byte C[7:0]. The next 16 bits are data bits D[15:0]. Clock signal SCLK can idle low or high, but data is always clocked in on the rising edge of SCLK (CPOL = CPHA). SPI data transfers begin with the falling edge of CS. Data is clocked into the device on the rising edges of SCLK and clocked out of the device on the falling edges of SCLK. For correct bus cycles, CS should frame the data and should not return to a 1 until after the last active rising clock edge. See Figure 2 for timing details. A rising edge of CS causes DOUT to threestate and data reads should be performed accordingly. See Figures 1 and 3. When writing instructions to the MAX11008, 24 clock cycles must be completed before CS is driven high. The MAX11008 executes the instruction only after the 24th clock cycle has been received and CS is driven high. To abort unwanted instructions, CS can be driven high at any time before the 23rd rising clock edge. When reading data from the MAX11008, 24 clock cycles must be completed before CS is driven high. If CS is driven high before the completion of the 24th falling edge, DOUT immediately three-states, the interface resets in preparation for the next command, and the data being read is lost.
Write Format Use the following sequence to write 16 bits of data to a MAX11008 register (see Figure 2):
1) Drive CS low to select the device. 2) Send the appropriate write command byte (see Table 6 for the register address map). The command byte is clocked in on the rising edge of SCLK. 3) Send 16 bits of data D[15:0] starting with the most significant bit (MSB). Data is clocked in on the rising edges of SCLK. 4) Drive CS high to conclude the command.
A RISING EDGE OF CS DURING THIS PERIOD COMPLETES A VALID WRITE COMMAND CS SCLK DIN CR/WC6 C5 C4 C3 C2 C1 C0 D15 D14 D13 D12 D11 D10 D9 D8 D7 D6 D5 D4 D3 D2 D1 D0
Figure 2. SPI Write Sequence
18
______________________________________________________________________________________
Dual RF LDMOS Bias Controller with Nonvolatile Memory
Read Format Use the following sequence to read 16 bits of data from a MAX11008 register (see Figure 3):
1) Drive CS low to select the device. 2) Send the appropriate read command byte (see Table 6 for the register address map). The command byte is clocked in on the rising edges of SCLK. 3) Receive 16 bits of data. The first 4 bits of data are always high. Data is clocked out on the falling edges of SCLK. 4) Drive CS high.
I2C Serial Interface Connect SPI/I2C to DGND to select the I2C interface. The I2C serial interface consists of a serial data line (SDA) and a serial clock line (SCL). The MAX11008 is I2C compatible within the DVDD = 2.7V to 5.25V range. SDA and SCL facilitate bidirectional communication between the MAX11008 and the master at rates up to 400kHz for fast mode and up to 3.4MHz for high-speed mode (HS mode). See the Bus Timing and HS I2C Mode sections for more information on data-rate configurations.
Figure 4 shows the 2-wire interface timing diagram. The MAX11008 is a transmit/receive slave-only device, relying upon a master to generate a clock signal. The master (typically a microcontroller) initiates data transfers on the bus and generates the SCL signal to permit data transfer.
MAX11008
CS SCLK DIN DOUT R/W C6 C5 C4 C3 C2 C1 C0 X D15 X X D14 X D13 D12 X D11 X D10 X D9 X D8 X D7 X X D6 X D5 X D4 X D3 X D2 D1 X D0 X X
Figure 3. SPI Read Sequence
a) F/S-MODE I2C SERIAL INTERFACE TIMING tR tF
SDA tSU, DAT tLOW SCL tHD, STA S b) HS-MODE I2C SERIAL INTERFACE TIMING SDA tSU, DAT tLOW SCL tHIGH tHD, STA tRCL S HS MODE PARAMETERS ARE MEASURED FROM 30% TO 70%. tRCL Sr A tRCL P S F/S MODE tHD, DAT tBUF tSU, STA tHD, STA tSU, ST0 tHIGH tR tF Sr A P tRDA S tRDA tHD, DAT tSU, STA tBUF tSU, ST0
tHD, STA
Figure 4. I2C Serial-Interface Timing Diagram
______________________________________________________________________________________ 19
Dual RF LDMOS Bias Controller with Nonvolatile Memory MAX11008
A master device communicates to the MAX11008 by transmitting the proper slave address followed by a command and/or data words. Each transmit sequence is framed by a START (S) or repeated START (Sr) condition and a STOP (P) condition. Each word transmitted over the bus is 8 bits long and is always followed by an acknowledge clock pulse. The MAX11008 SDA and SCL drivers are open-drain outputs, requiring a pullup resistor (750 or greater) to generate a logic-high voltage (see the Typical Application Circuits). Series resistors are optional for noise filtering. These series resistors protect the input stages of the MAX11008 from high-voltage spikes on the bus line, and minimize crosstalk and undershoot of the bus signals. SCL is high. The master terminates a transmission with a STOP condition (P), which is a low-to-high transition on SDA while SCL is high (see Figure 5). A repeated START condition (Sr) can be used in place of a STOP condition to leave the bus active and the mode unchanged (see the HS I2C Mode section).
Bit Transfer One data bit is transferred during each SCL clock cycle. The data on SDA must remain stable during the high period of the SCL clock pulse. Changes in SDA while SCL is high are control signals (see the START and STOP Conditions section). Both SDA and SCL idle high when the I2C bus is not busy. START and STOP Conditions The master initiates a transmission with a START condition (S), which is a high-to-low transition on SDA while
Acknowledge Bits and Not-Acknowledge Conditions Data transfers are framed with an acknowledge bit (ACK) or a not-acknowledge bit (NACK). Both the master and the MAX11008 (slave) generate acknowledge bits. To generate an acknowledge, the receiving device must pull SDA low before the rising edge of the acknowledge-related clock pulse (ninth clock pulse) and keep it low during the high period of the clock pulse (see Figure 6). To generate a not-acknowledge condition, the receiver allows SDA to be pulled high before the rising edge of the acknowledge-related clock pulse, and leaves SDA high during the high period of the clock pulse. Monitoring the acknowledge bits allows for detection of unsuccessful data transfers. An unsuccessful data transfer happens if a receiving device is busy or if a system fault has occurred. In the event of an unsuccessful data transfer, the bus master reattempts communication at a later time.
S SDA
Sr
P
SCL S = START. Sr = REPEATED START. P = STOP.
Figure 5. START and STOP Conditions
S SDA
NOT ACKNOWLEDGE
ACKNOWLEDGE SCL 1 2 8 9
Figure 6. Acknowledge Bits
20
______________________________________________________________________________________
Dual RF LDMOS Bias Controller with Nonvolatile Memory
Slave Address A bus master initiates communication with a slave device by issuing a START condition followed by the 7bit slave address and a read/write (R/W) bit (see Figure 7). When the device recognizes its slave address, it is ready to accept or send data depending on the R/W bit. When the MAX11008 recognizes its slave address, it issues an ACK by pulling SDA low for one clock cycle and is ready to accept or send data depending on the R/W bit that was sent. The MAX11008 has eight user-selectable slave addresses, which are set through inputs A0, A1, and A2 (see Table 1). This feature allows up to eight MAX11008 devices to share the same bus inputs. The 4 MSBs D[7:4] are factory set, and the 3 LSBs are user-selectable. Bus Timing At power-up, the bus timing is set for I2C fast-mode (F/S mode), which allows I2C clock rates up to 400kHz. The MAX11008 can also operate in high-speed mode (HS mode) to achieve I2C clock rates up to 3.4MHz. See Figure 4 for I2C bus timing. HS I2C Mode Select HS mode by addressing all devices on the bus with the HS-mode master code 0000 1XXX (X = don't care). After successfully receiving the HS-mode master code, the MAX11008 issues a NACK, allowing SDA to be pulled high for one clock cycle (see Figure 8). After the NACK, the MAX11008 operates in HS mode. The master must then send a repeated START (Sr) followed by a slave address to initiate HS-mode communication. If the master generates a STOP condition, the
MAX11008
Table 1. Slave Address Select
A2 0 0 0 0 1 1 1 1 A1 0 0 1 1 0 0 1 1
S SDA 0 1 0 1 A2 A1 A0 R/W A
A0 0 1 0 1 0 1 0 1
ADDRESS 0101000 0101001 0101010 0101011 0101100 0101101 0101110 0101111
SCL
1
2
3
4
5
6
7
8
9
Figure 7. Slave Address Bits
Sr SDA 0 0 0 0 1 X X X A
1
2
3
4
5
6
7
8
9
F/S MODE
HS MODE
Figure 8. F/S-Mode to HS-Mode Transfer
______________________________________________________________________________________ 21
Dual RF LDMOS Bias Controller with Nonvolatile Memory MAX11008
MAX11008 returns to F/S mode. Use a repeated START condition in place of a STOP condition to leave the bus active and the mode unchanged. Figure 9 summarizes the data bit transfer format for HS-mode communication. slave. The MSB of the register address byte is the read/write bit for the destination register address of the slave and must be set to 0 for a write cycle (see the Register Address Map section). After receiving the byte, the slave issues another acknowledge, pulling SDA low for one clock cycle. The master then writes two data bytes, receiving an ACK from the slave after each byte is sent. The master ends the write cycle by issuing a STOP condition. When operating in HS mode, a STOP condition returns the bus into F/S mode (see the HS I2C Mode section). Figure 10 shows a complete write cycle.
Register Address/Data Bytes (Write Cycle) A write cycle begins with the bus master issuing a START condition followed by 7 address bits (see Figure 5 and Table 1) and a write bit (R/W = 0). Once the slave address is recognized and the write bit is received, the MAX11008 (I2C slave) issues an ACK by pulling SDA low for one clock cycle. The master then sends the register address byte (command byte) to the
MASTER TO SLAVE SLAVE TO MASTER
F/S MODE
HS MODE
F/S MODE
S
MASTER CODE
N
Sr
SLAVE ADDRESS
R/W
A
DATA
A
P
N BYTES + ACK
HS MODE CONTINUES
Sr
SLAVE ADD
Figure 9. Data-Transfer Format in HS Mode
MASTER TO SLAVE SLAVE TO MASTER
4-BYTE WRITE CYCLE 1 S 7 SLAVE ADDRESS 11 WA 8 REGISTER ADDRESS BYTE 1 A 8 DATA BYTE 1 A 8 DATA BYTE 1 1 NUMBER OF BITS
A P OR Sr
MSB DETERMINES WHETHER TO READ OR WRITE TO REGISTERS
Figure 10. Write Cycle
22
______________________________________________________________________________________
Dual RF LDMOS Bias Controller with Nonvolatile Memory
Register Address/Data Bytes (5-Byte Read Cycle) A read cycle begins with the master issuing a START condition followed by a 7-bit address, (see Figure 5 and Table 1) and a write bit (R/W = 0) to instruct the MAX11008 interface that it is about to receive data. Once the slave address is recognized and the write bit is received, the MAX11008 (I2C slave) issues an ACK by pulling SDA low for one clock cycle. The master then sends the register address byte (command byte) to the slave. The MSB of the register address byte is the read/write bit for the destination register address of the slave and must be set to 1 for a read cycle (see the Register Address Map section). After this byte is received, another acknowledge bit is sent to the master from the slave. The master then issues a repeated START (Sr) condition. Following a repeated START (Sr), the master writes the slave address byte again with a read bit (R/W = 1). After a third acknowledge signal from the slave, the data direction on the SDA bus reverses and the slave writes the 2 data bytes (the
contents of the register that was addressed in the previous command byte) to the master. Finally, the master issues a NACK followed by a STOP condition (P), ending the read cycle. Figure 11 shows a complete 5-byte read cycle.
MAX11008
Default Read Cycle (3-Byte Read Cycle) The MAX11008 2-wire interface has a unique feature for read commands. To avoid the necessity of sending 2 slave address bytes in one read cycle (see the 5-byte read cycle in Figure 11), the MAX11008 2-wire interface recognizes a single slave address byte with a read bit (R/W = 1). In this case, the interface outputs the contents of the last read device register. This default read feature is useful when the master must perform multiple consecutive reads from the same device register. Figure 11 shows a complete 3-byte read cycle.
MASTER TO SLAVE SLAVE TO MASTER
5-BYTE READ CYCLE 1 S 7 SLAVE ADDRESS 11 WA 8 COMMAND BYTE 1 A Sr 7 SLAVE ADDRESS 11 RA 8 DATA BYTE 1 A 8 DATA BYTE 1 1 NUMBER OF BITS
N P OR Sr
3-BYTE READ CYCLE 1 S 7 SLAVE ADDRESS 11 RA 8 DATA BYTE 1 A 8 DATA BYTE 1 1 NUMBER OF BITS
N P OR Sr
Figure 11. 5-Byte and 3-Byte Read Cycle
______________________________________________________________________________________
23
Dual RF LDMOS Bias Controller with Nonvolatile Memory MAX11008
12-Bit ADC
The MAX11008 12-bit ADC uses a SAR conversion technique and on-chip track-and-hold (T/H) circuitry to convert the PGA outputs (PGAOUT1 and PGAOUT2), temperature measurements, and single-ended auxiliary input voltages (ADCIN1 and ADCIN2) into 12-bit digital data when in ADC monitor mode (see the Hardware Configuration Register (HCFIG) (Read/Write) section). All nontemperature measurements are converted using a unipolar transfer function (see Figure 13), and all temperature measurements are converted using a bipolar transfer function (see Figure 14). Any source impedance below 300 does not affect the ADC's AC performance. A high-impedance source can be accommodated either by lengthening tACQ or by placing a 1F capacitor between the positive and negative analog inputs. The combination of the analoginput source impedance and the capacitance at the analog input creates an RC filter that limits the analog input bandwidth.
Analog Input T/H Figure 12 shows the equivalent circuit for the ADC input architecture of the MAX11008. In track mode, an input capacitor is connected to the input signal (ADCIN1, ADCIN2, PGAOUT1, PGAOUT2, or temperature sensor processor output). Another input capacitor is connected to AGND. After the T/H enters hold mode, the difference between the sampled positive and negative input voltages is converted. The charging rate of the input capacitance determines the time required for the T/H to acquire an input signal. If the input signal's source impedance is high, the required acquisition time lengthens accordingly.
Input Bandwidth The ADC's input-tracking circuitry has a 1MHz smallsignal bandwidth, to digitize high-speed transient events and measure periodic signals with bandwidths exceeding the ADC's sampling rate by using undersampling techniques. Anti-alias filtering of the input signals is necessary to prevent high-frequency components from aliasing into the frequency band of interest. Analog Input Protection Internal electrostatic-discharge (ESD) protection diodes clamp all analog inputs to AVDD and AGND, allowing the inputs to swing from (AGND - 0.3V) to (AVDD + 0.3V) without damage. However, for accurate conversions near full scale, the inputs must not exceed AVDD by more than 50mV or be lower than AGND by 50mV. If an analog input voltage exceeds the supplies, limit the input current to 2mA.
REFADC
ADCIN1 ADCIN2 PGAOUT1 PGAOUT2 TEMP SENSOR READING HOLD
CAPACITIVE DAC TRACK CIN+ COMPARATOR
AGND TRACK
CIN-
HOLD
HOLD TRACK
AVDD/2 ALL SWITCHES SHOWN IN TRACK MODE.
Figure 12. Analog Input Track and Hold
24 ______________________________________________________________________________________
Dual RF LDMOS Bias Controller with Nonvolatile Memory
ADC Transfer Functions Figure 13 shows the unipolar transfer function for nontemperature measurements, and Figure 14 shows the bipolar transfer function used for temperature measurements. Code transitions occur halfway between successive-integer LSB values. Output coding is binary, with 1 LSB = VREFADC/4096 for nontemperature measurements, and 1 LSB = +0.125C for temperature measurements. All signed binary results use two's complement format. ADC Conversion Scheduling The MAX11008 ADC multiplexer scans and converts the selected inputs in the order shown in Table 2 (see the ADC Conversion Register (ADCCON) (Write Only) section) when more than one channel is selected. The results are stored in the FIFO when in ADC monitoring mode. The BUSY signal is set at the start and reset at the end of a scan except when the continuous convert bit is set at which time BUSY does not then respond to ADC conversions. Writing a conversion command before a conversion is complete cancels the pending conversion. Avoid addressing the device using the serial interface while the ADC is converting.
MAX11008
VREFADC 1111 1111 1111 1111 1111 1110 1111 1111 1101 FULL-SCALE TRANSITION
Table 2. Order of ADC Conversion Scan
ORDER OF SCAN 1
VREFADC
BINARY OUTPUT CODE
1111 1111 1100 1 LSB = VREFADC/4096
DESCRIPTION OF CONVERSION Internal device temperature External diode 1 temperature Output of PGA 1 for current sense Auxiliary input 1 (ADCIN1) External diode 2 temperature Output of PGA 2 for current sense Auxiliary input 2 (ADCIN2)
2 3 4 5
0000 0000 0011 0000 0000 0010 0000 0000 0001 0000 0000 0000 0 1 2 3 INPUT VOLTAGE (LSB) 4093 4095
6 7
Figure 13. ADC Transfer Function
0111 1111 1111 0111 1111 1110
OUTPUT CODE
0111 1111 1101
1 LSB = +0.125C
0000 0000 0001 0000 0000 0000 1111 1111 1111
ADC Clock Modes The MAX11008 offers three conversion/acquisition modes (known as clock modes) selectable through configuration register bits CKSEL1 and CKSEL0. If the ADC conversion requires the internal reference (temperature measurement or voltage measurement with internal reference selected) and the reference has not been previously forced on (FBGON = 1), the device inserts a typical delay of 72s, for the reference to settle, before commencing the ADC conversion. The reference remains powered up while there are pending conversions. If the reference is not forced on, it automatically powers down at the end of a scan or when CONCONV in the ADC Conversion register is set back to 0.
Internally Timed Acquisitions and Conversions
Clock Mode 00 In clock mode 00, power-up, acquisition, conversion, and power-down are all initiated by writing to the ADC Conversion register and performed automatically using the internal oscillator. This is the default clock mode. The ADC sets the BUSY output high, powers up, and scans all requested channels storing the results in the FIFO if the ADCMON bit has been set. After the scan is
25
1000 0000 0010 1000 0000 0001 1000 0000 0000 -256 0 TEMPERATURE (C) +255
Figure 14. Temperature Transfer Function
______________________________________________________________________________________
Dual RF LDMOS Bias Controller with Nonvolatile Memory MAX11008
complete the ADC powers down, BUSY is pulled low, and the results for all of the selected channels are available in the FIFO. The duration of the BUSY pulse is additive, depending on the channel conversion sequence selected. The BUSY pulse is set typically for 72s by temperature conversions; 52s by PGAOUT conversions, and 7s by ADCIN conversions.
Externally Timed Acquisitions and Conversions
Clock Mode 10 Clock mode 10 is reserved. Do not use this clock mode. Clock Mode 11 In clock mode 11, set the FBGON bit. Conversions are initiated one at a time through CNVST and performed using the internal oscillator. In this mode, the acquisition time is controlled by the time CNVST is low. CNVST is resynchronized by the internal oscillator, resulting in a one-clock cycle (typically 320ns) uncertainty in the exact sampling instant. Different timing parameters apply depending if the conversion is temperature, from ADCIN, or from PGAOUT (as specified in the Clock Mode 00 section). Figure 15 shows a conversion time example. Both internal and external temperature conversions are internally timed. Pull CNVST low for a minimum of 20ns (tCNV11) to trigger a temperature conversion. The BUSY output goes high and the temperature conversion result is available in the FIFO (if the ADCMON bit is set) 72s (typ) after BUSY goes low again.
Clock Mode 01 In clock mode 01, power-up, acquisition, conversion, and power-down are all initiated through a single pulse on CNVST and performed automatically using the internal oscillator. Initiate a scan by writing to the ADC conversion register and setting CNVST low for at least 20ns. The ADC sets the BUSY output high, powers up, and scans all requested channels storing the results in the FIFO if the ADCMON bit has been set. After the scan is complete, the ADC powers down, BUSY is pulled low, and the results for all of the selected channels are available in the FIFO. The BUSY pulse behavior is identical to that of clock mode 00.
INTERNAL TEMPERATURE READING, PGA1 OUTPUT, AND ADCIN1 CONVERSION TIMING IN CLOCK MODE 11 tCNV = 20ns (typ) tACQ = 30s (typ) CNVST tACQ = 1.5s (typ)
BUSY
INTERNAL OPERATIONS
TEMPERATURE CONVERSION 70s (typ)
IDLE MODE, REF AND TEMP SENSOR POWERED
PGA 1 ACQUISITION
PGA 1 CONVERSION 22s (typ)
IDLE MODE, REF AND TEMP SENSOR POWERED
ADCIN1 ACQUISITION ADCIN1 CONVERSION 7s (typ)
END OF SCAN
WRITE TO ADC CONVERT REGISTER TO SET UP ADC SCAN FBGON = 1, ADCMON = 1
TEMPERATURE CONVERSION RESULT AVAILABLE IN FIFO
PGA 1 OUTPUT CONVERSION RESULT AVAILABLE IN FIFO
ADCIN 1 CONVERSION RESULT AVAILABLE IN FIFO
Figure 15. ADC Clock Mode 11 Example
26
______________________________________________________________________________________
Dual RF LDMOS Bias Controller with Nonvolatile Memory
For a PGAOUT conversion, set CNVST low for a minimum of 30s or maximum of 40s. The BUSY output goes high at the start of the CNVST pulse and the PGAOUT conversion result is available in the FIFO (if the ADCMON bit has been set) 52s (typ) after BUSY goes low again. For an ADCIN conversion, set CNVST low for at least 1.5s. The BUSY output goes high at the end of the CNVST pulse and the ADCIN conversion result is available in the FIFO (if the ADCMON bit is set) 7s (typ) after BUSY goes low again. For ease of operation, all CNVST pulses can use a 30s width irrespective of the source being converted. In the case of ADC conversions, the BUSY pulse width is extended accordingly. For clock modes 00 and 01, the BUSY pulse width duration depends on the channel conversion sequence selected. Continuous conversion is not supported in this clock mode (see Table 20 for the ADC Conversion register). Changing Clock Modes During ADC Conversions If a change is made to the clock mode in the configuration register while the ADC is already performing a conversion (or series of conversions), the following describes how the MAX11008 responds: * When CKSEL = 00 and is then changed to another value, the ADC completes the already triggered series of conversions and then goes idle. The BUSY output remains high until the conversions are completed. The MAX11008 then responds in accordance with the new CKSEL mode. * When CKSEL = 01 and is then changed to another value and if the device is waiting for the initial external trigger, the MAX11008 immediately exits clock mode 01, powers down the ADC, and goes idle. The BUSY output stays low and the new clock mode is observed. If a conversion sequence has started, the ADC completes the requested conversions and then goes idle. The BUSY output remains high until the conversions are completed. The MAX11008 then responds in accordance with the new CKSEL mode. * When CKSEL = 11 and is then changed to another value and if the device is waiting for an external trigger, the MAX11008 immediately exits clock mode 11, powers down the ADC, and goes idle. The BUSY output stays low and the new clock mode is observed. Turning the Continuous Conversion Bit (CONCONV) On and Off When switching between continuous and single conversion modes, the clock mode requires resetting to avoid hanging the ADC sequencing routine. For example, the following is the command sequence to switch from continuous to single conversion and revert to continuous conversion: 1) Write ADCCON (00000000 10110111). 2) Turn off the selected channels, but leave the continuous convert bit asserted. Write ADCCON (00000000 10000000). 3) Turn off the continuous convert bit. Write ADCCON (00000000 00000000). 4) Change from the current clock mode (00 in this case) to any other one. Write HCFIG (00000100 00011000). 5) Change the clock mode back. Write HCFIG (00000100 00001000). 6) Clear the FIFO. Write SCLR (00000000 00000100). 7) Perform the single conversion. Write ADCCON (00000000 00110111). 8) Read the FIFO five times to capture the results of the single conversions. Read FIFO. 9) Turn continuous convert back on. Write ADCCON (00000000 10110111). The alternative to this command sequence is to leave continuous conversion on and just read the FIFO. When using this method, decode the channel tag to determine which channel has been read.
MAX11008
12-Bit DACs
In addition to the 12-bit ADC, the MAX11008 also includes two voltage-output, 12-bit, monotonic DACs with typically less than 2 LSB integral nonlinearity error and less than 1 LSB differential nonlinearity error. Each DAC also has a 45ms settling time and ultra-low glitch energy (4nV*s). The 12-bit DAC codes are unipolar binary with 1 LSB = VREFDAC/4096.
______________________________________________________________________________________
27
Dual RF LDMOS Bias Controller with Nonvolatile Memory
Figure 16 shows the functional diagram of the MAX11008 DACs. Each DAC includes an input and output register. The input registers hold the result of the most recent write operation, and the output registers hold the current output code for the respective DAC. Data written to a DAC input register is transferred to its output register by writing to the Load DAC register (see Table 22). Alternatively, write data directly to the output register using the DAC Input and Output Data register. The analog output voltages of the DACs (before amplification by the gate-drive amplifiers) are calculated with the following equation: V x CODE VDAC = DACREF 4096 where VDACREF is the value of the internal or external reference voltage and CODE is the decimal value of the 12-bit code contained in the output register.
MAX11008
Output Clamp
The MAX11008 features an output clamp mode that protects the external LDMOS transistors by connecting the gate-drive amplifier outputs (GATE_) to AGND. The clamp mode can be controlled by the OPSAFE_ digital inputs or by setting the appropriate ALMCLMP[1:0] bits in the Alarm Hardware Configuration register (see Table 14). When using the OPSAFE_ digital inputs, pull OPSAFE_ high to enter clamp mode and pull OPSAFE_ low to exit clamp mode. The clamp can also be activated automatically from the alarm trip point setting registers; see the Alarm Software Configuration Register (ALMSCFIG) (Read/Write) section.
Self-Calibration
Calibrate channel 1 and channel 2 by writing to the PGA Calibration Control register. The MAX11008 functions after power-up without a calibration. Command a calibration after powering up the device by setting the TRACK bit to 0 and the DOCAL bit to 1 (see Table 19). Subsequently, set the TRACK, DOCAL, and SELFTIME bits to 1 to enable automatic self-calibration (approximately every 13ms). This minimizes loss of performance over temperature and supply-voltage variation. Alternatively, run self-calibration manually to control the timing of the operation. Set the TRACK and DOCAL bits to 1 and the SELFTIME bit to 0 to perform manually triggered self-calibration. The self-calibration algorithm cancels offsets at the PGA-drive amplifier inputs in approximately 50V increments to improve accuracy. The self-calibration routine can be commanded when the DACs are powered down, but the results will not be accurate. For best results, run the calibration after the DAC power-up time, tDPUEXT. The ADC's operation is suspended during a self-calibration. The BUSY output returning low indicates the end of the self-calibration routine. Wait until the end of the self-calibration routine before requesting an ADC conversion.
Gate-Drive Amplifiers
The gate-drive amplifiers are proportional to the analog outputs of the 12-bit DACs and provide the necessary gate voltage to drive the external LDMOS transistors. Both amplifiers have a fixed gain of 2V/V and are capable of sourcing or sinking up to 2mA of current. Output short-circuit protection prevents output currents from exceeding 25mA. The gate output is equal to the DAC output voltage amplified by 2. VGATE_ = 2 x VDAC See the Software Configuration Registers and Temperature/APC LUT Configuration Registers sections for information on how the gate voltages are controlled by temperature and APC samples.
CHANNEL 1/CHANNEL 2 DAC INPUT REGISTERS
CHANNEL 1/CHANNEL 2 Channel 1/Channel 2 DAC OUTPUT REGISTERS
CHANNEL 1/ CHANNEL 2 DAC
LDDACCH_ SET TO 1 IN LOAD DAC REGISTER
Figure 16. DAC Functional Diagram
28 ______________________________________________________________________________________
Dual RF LDMOS Bias Controller with Nonvolatile Memory
ADC and DAC References
The MAX11008 provides an internal low-noise +2.5V reference for the ADCs, DACs and temperature sensor. When using the internal reference the REFDAC and REFADC inputs can either be left open or to improve noise performance, bypassed with a 0.1F capacitor to AGND. Connect a voltage source to the REFADC input ranging between +1V to AVDD to configure the device for external ADC reference mode. Connect a voltage source to the REFDAC input ranging between +0.7V to +2.5V to configure the device for external DAC reference mode. When using an external voltage reference, bypass the REFDAC and REFADC inputs with a 0.1F capacitor to AGND. Bits D[3:0] within the Hardware Configuration register control the source of the DAC and ADC references. See Table 11. In clock mode 00, initiate temperature conversions by writing 0x13 to the ADC Conversion register. In clock mode 01, initiate temperature conversions by writing 0x13 to the ADC Conversion register and pulse CNVST low. In clock mode 11, initiate temperature conversions by writing 0x13 to the ADC Conversion register and pulse CNVST low for each channel conversion. Set the corresponding data bits for the temperature sensor to be measured to 1 (see the ADC Conversion Register (ADCCON) (Write Only) section and Table 20) for all three clock modes. Set the high and low external temperature thresholds through the temperature threshold registers. See the Low Temperature Threshold Registers (TL1, TL2) (Read/Write) section, High Temperature Threshold Registers (TH1, TH2) (Read/Write) section, and Tables 7 and 8). The reference voltage for the temperature measurements is always derived from the internal reference source to ensure that 1 LSB corresponds to 1/8 of a degree Celsius. On every scan where only temperature measurements are requested, temperature conversions are carried out in the following order: INTEMP, EXTEMP1, then EXTEMP2. If the ADCMON bit is set when the conversions are performed, the temperature readings are available in the FIFO. The temperature-sensing circuits power up at the start of an ADC conversion scan. The temperature-sensing circuits remain powered on until the end of the scan to avoid a 50s delay caused by the internal reference power-up time required for each individual temperature channel. The temperature-sensor circuits remain powered up when the ADC conversion register's continuous convert bit (CONCONV, see Table 20) is set to 1 and the current ADC conversion includes a temperature channel. The temperature-sensor circuits remain powered up until the CONCONV bit is set low. The external temperature-sensor drive current ratio has been optimized for a 2N3904 npn transistor with an ideality factor of 1.0065. The nonideality offset is removed internally by a preset digital coefficient. Using a transistor with a different ideality factor produces a proportionate difference in the absolute measured temperature. For more details on this topic and others related to using an external temperature sensor, refer to Application Note 1057: Compensating for Ideality Factor and Series Resistance Differences between Thermal Sense Diodes and Application Note 1944: Temperature Monitoring Using the MAX1253/54 and MAX1153/54.
MAX11008
Temperature Sensors
The MAX11008 measures the internal die temperature and two external LDMOS transistor temperatures through one internal and two external diode-connected transistors. The MAX11008 performs temperature measurements by changing the bias current of each diode from 4A to 68A to produce a temperature-dependent bias voltage difference. The internal ADC converts the voltage difference to a digital value. The conversion result at 4A is subtracted from the conversion results at 68A to calculate a digital value that is proportional to absolute temperature. The output data sent to the master will be the resultant digital code minus an offset value to adjust from Kelvin to Celsius. Temperature data is delivered to the master as a 12-bit signed (two's complement) fractional number with the 3 LSBs being the fractional bits. This provides a temperature measurement resolution of 1/8C. See Table 3 for examples of the signed fractional number digital temperature codes.
Table 3. Signed Fractional Number Temperature-Code Examples
TEMPERATURE (C) -40 -1.625 0 +27.125 +105 DIGITAL CODE [D11:0] 1110 1100 0000 1111 1111 0011 0000 0000 0000 0000 1101 1001 0011 0100 1000
______________________________________________________________________________________
29
Dual RF LDMOS Bias Controller with Nonvolatile Memory MAX11008
High-Side Current-Sense Amplifiers and PGAs
The MAX11008 provides dual high-side current-sense and differential amplifier capability. The current-sense amplifiers provide a 5V to 32V input common-mode range. Both CS_+ and CS_- must be within the specified common-mode range for proper operation of each amplifier. The sense amplifiers measure the load current, ILOAD, through an external sense resistor, RSENSE, between the CS_+ and CS_- inputs. The full-scale sense voltage range (VSENSE = VCS_+ - VCS_-) depends on the programmed gain (see the Electrical Characteristics section). The sense amplifiers provide a voltage output at PGAOUT1 and/or PGAOUT2, where the output voltage is determined by the following equation: VPGAOUT_ = APGA x (VCS_+ - VCS_-) where APGA is the selected gain setting of the PGA (2, 10, or 25). The PGA outputs are routed to the internal 12-bit ADC to internally monitor and/or read through the serial interface. The PGA scales the sensed voltages to fit the input range for the ADC. Program the PGA with gains of 2, 10, and 25 by setting the PG_SET_ bits in the Hardware Configuration register (see Tables 11 and 11c). To increase the accuracy of drain current measurements, the MAX11008 features a PGA output offset voltage calibration function. The PGA calibration function has two modes of operation: acquisition mode and tracking mode. In acquisition mode, the calibration routine operates continuously until the offset error of the PGA is minimized. In tracking mode, the calibration routine operates intermittently and has higher noise thresholds (more averaging). Typically, the first calibration is performed in acquisition mode and all subsequent calibrations are performed in tracking mode. The PGA Calibration Control register selects the PGA calibration mode and controls when calibrations occur (see the PGA Calibration Control Register (PGACAL) (Write Only) section). Since PGA calibration affects the accuracy of ADC conversion results, avoid performing PGA calibrations when ADC conversions are in progress. Wait at least 2s (tDPUEXT) after DAC power-up before performing a PGA calibration. be written to the EEPROM (see the LUT Streaming Mode section), or data that is to be read from the EEPROM (see the Message Mode section). The data remains in the FIFO until it can be read by the master device through the serial data line (see the ADC Monitoring Mode or Message Mode section) or written to the EEPROM (see the LUT Streaming Mode section). The proceeding sections describe the various modes of operation and data flow control that involve the FIFO.
ADC Monitoring Mode Setting the ADCMON (D10) bit in the Hardware Configuration register (see Table 11) places the MAX11008 into ADC monitoring mode. The 12-bit ADC conversion result of the selected channel is placed into the FIFO along with a 4-bit channel tag. The 4-bit channel tag is primarily used to indicate the origin of the conversion, and can also be used to indicate that the conversion data may be corrupted during FIFO overflow or that the FIFO is currently empty (see Tables 24 and 24a).
When multiple conversions are made, the FIFO may overflow if data is placed into the FIFO faster than it is read out. In this case, the FIFO stores the seven most recent ADC conversions. When the 8th conversion result enters the FIFO, the oldest conversion is discarded, thereby leaving the seven most recent results. The FIFOOVER bit (D8) in the Flag register (see Table 26) is set to 1 when FIFO overflow occurs. If the FIFO is full and overflowing on each ADC conversion, there is a narrow timing window in which reading the FIFO produces invalid data. The MAX11008 detects this hazard and flags the data as unreliable by using the channel tag error (1110). Only the data being read through the serial interface is invalid. The ADC sample used internally for VGATE_ calculations is valid. To avoid overflow, systematically remove data from the FIFO. If the ADC data is read out of the FIFO faster than data is transferred into the FIFO, essentially emptying the FIFO, a data word containing the empty FIFO tag (1111) and the current status of the Flag register is read from the FIFO.
First-In-First-Out (FIFO)
The MAX11008 utilizes a bidirectional FIFO that can store up to eight 16-bit data words. The data stored in the FIFO may consist of ADC conversion results (see the ADC Monitoring Mode section), user data that is to
30
LUT Streaming Mode The LUT streaming mode is used to write data to the EEPROM. Place the MAX11008 in LUT streaming mode by writing to the LUT Streaming register (see Table 27) and disabling the internal watchdog oscillator in the Software Shutdown register. The FIFO is cleared when entering LUT streaming mode, so important data remaining in the FIFO should be read before entering this mode. Write the data that is to be transferred to the EEPROM to the FIFO. The MAX11008 automatically
______________________________________________________________________________________
Dual RF LDMOS Bias Controller with Nonvolatile Memory
moves the data from the FIFO and writes it to the EEPROM. The MAX11008 remains in LUT streaming mode until the specified amount of data is written to the EEPROM. Set the internal watchdog oscillator when LUT streaming mode is exited. If the FIFO is emptied before all of the data is written to the EEPROM, the MAX11008 waits until more data is placed into the FIFO. If data is placed into the FIFO faster than it can be written to the EEPROM causing the FIFO to fill completely, the FIFOOVER bit in the Flag register is set to 1 and all subsequent writes to the FIFO are ignored until there is space for another data word. The BUSY output goes high during LUT streaming mode and returns low after all of the data is written to the EEPROM. FIFO data flow control in the LUT streaming mode can be implemented with the following methods: 1) Open Loop--Write data to the FIFO at a rate that does not exceed 1 word per 60s to guarantee that the FIFO does not overflow. 2) Software Flow Control--Check the FIFOOVER bit (D8) in the Flag register (see Table 26) in between FIFO write commands to ensure that the FIFO is not full; then write data to the FIFO. 3) FIFO Status Monitoring--By setting the FIFOSTAT bit (D11) to 1 in the Hardware Configuration register, the ALARM output is used to indicate FIFO status. When the FIFO is full, the ALARM output goes low and returns high when there is space in the FIFO for another data word. See Figures 17 and 18. EEPROM data, so it is necessary to use data flow-control methods to safely read the EEPROM. The BUSY output goes high during message mode and returns low after all of the specified EEPROM data is read from the FIFO. FIFO data flow control in message mode can be implemented with the following methods: 1) Open Loop--Read data from the FIFO at a rate no greater than 1 word per 50s, which guarantees that the FIFO does not empty completely before all of the specified data is copied from the EEPROM. 2) Software Flow Control--Check the FIFOEMP bit (D9) in the Flag register (see Table 26) in between FIFO read commands to ensure that the FIFO is not empty. 3) FIFO Status Monitoring--By setting the FIFOSTAT bit (D11) to 1 in the Hardware Configuration register, the ALARM output is used to indicate FIFO status. When the FIFO is empty, the ALARM output goes low and returns high after more data is copied into the FIFO.
MAX11008
BUSY Output
The BUSY output goes high to show that the MAX11008 is busy for the reasons listed below: 1) The ADC is in the middle of a user-commanded conversion cycle (but not in continuous convert mode). 2) Power-up initializations are being performed. 3) A VGATE_ calculation is being made. 4) Data is being read from the EEPROM (message mode). 5) Data is being written to the EEPROM (LUT streaming mode). 6) One of the PGAs is undergoing calibration. The serial interface remains active regardless of the state of the BUSY output. Wait until BUSY goes low to read the current conversion data from the FIFO. When BUSY is high, as a result of an ADC conversion, do not enter a second conversion command until BUSY has gone low to indicate the previous conversion is complete. In multiple conversion mode (CKSEL1, CKSEL0 = 01 or CKSEL1, CKSEL0 = 00), the BUSY signal remains high until all channels have been scanned and the data from the final channel has been moved into the FIFO and checked for alarm limits if enabled (see the Alarm Software Configuration Register (ALMSCFIG) (Read/Write) section). In continuous-conversion mode (CONCONV = 1), the BUSY signal does not go high as a result of ADC conversions; however, BUSY does go high when CONCONV is cleared and BUSY remains
31
Message Mode Use the message mode to read data from the EEPROM. Write to the user Message register to place the MAX11008 into message mode (see Table 23). The FIFO is cleared when entering message mode, so important data contained in the FIFO should be read before entering this mode. The specified EEPROM data is copied into the FIFO and is read by issuing a FIFO read command. The MAX11008 remains in message mode until all of the specified EEPROM data is copied into and read from the FIFO. If the EEPROM data is copied into the FIFO faster than it is read causing the FIFO to fill completely, the copying action is suspended until a data word is read out of the FIFO and the FIFOOVER bit is set to indicate a not-full condition. If the EEPROM data is read out of the FIFO faster than it can be copied causing the FIFO to empty completely, a data word containing the empty FIFO tag (1111) and current status of the Flag register is read from the FIFO. This underflow data is indistinguishable from arbitrary
______________________________________________________________________________________
Dual RF LDMOS Bias Controller with Nonvolatile Memory MAX11008
COUNT = 0
NO COUNT < MAX EXIT
YES
NO FLAG (FIFO_OVER_FLOW) = 0
FIFO FULL WAIT 60s
YES
WRITE DATA TO FIFO COUNT = COUNT + 1
Figure 17. Software Flow Control Example (Pseudo Code)
32
______________________________________________________________________________________
Dual RF LDMOS Bias Controller with Nonvolatile Memory MAX11008
COUNT = 0
NO COUNT < MAX EXIT
YES
NO ALARM = 1
FIFO FULL WAIT 60s
YES
WRITE DATA TO FIFO COUNT = COUNT + 1
Figure 18. Hardware Flow Control Example (Pseudo Code)
______________________________________________________________________________________
33
Dual RF LDMOS Bias Controller with Nonvolatile Memory MAX11008
high until the current scan is complete and the ADC sequence halts. In single-conversion mode (CKSEL1, CKSEL0 = 11), the BUSY signal remains high until the ADC has completed the current conversion (not the entire scan), the data has been moved into the FIFO, and the alarm limits for the channel have been checked (if alarm is enabled). configure the temperature alarm thresholds for channel 1 or channel 2 to window mode. Set the IWIN1 bit (D0) or IWIN2 bit (D4) to 1 in the Alarm Software Configuration register to set the current alarm thresholds for channel 1 or channel 2 to window mode. In window mode, temperature/current measurements are compared to the set temperature/current high and low thresholds. If a measured value is outside the configured window values (between the set high and low thresholds) and that corresponding channel is configured to cause an alarm condition, the alarm asserts. The alarm remains internally asserted until the measured values from that channel fall back into the window and past the configurable hysteresis. The external behavior of ALARM and the gate clamps are controlled by the settings of the ACOMP and ALMCLMP_ bits in the Alarm Hardware Configuration register. The amount of built-in hysteresis can be varied from 8 LSBs to 64 LSBs by setting ALMHYST[1:0] bits (D6 and D7) in the Alarm Hardware Configuration register (see Tables 14 and 14a). See Figures 19 and 20 for window-mode threshold examples.
Alarm Function
The MAX11008 features a multipurpose alarm function that indicates when a temperature sensor or a currentsense amplifier reading exceeds the threshold values specified in the High Temperature Threshold, Low Temperature Threshold, High Current Threshold, and Low Current Threshold registers (see Tables 7 to 10). The thresholds for each temperature sensor and current-sense amplifier channel are set individually and can be configured to operate in window mode or hysteresis mode (see the Window Mode and Hysteresis Mode sections). Alarm indication is provided by the ALARM output while information on the source of the alarm is contained in the Flag register (see Table 26). The enabling of the various alarms, the polarity of the ALARM output (active-high or active-low), the ALARMoutput modes, the alarm-threshold modes, and the methods by which the MAX11008 services an alarm are controlled with the Alarm Software Configuration register and Alarm Hardware Configuration register (see Tables 12 and 14).
ALARM-Output Modes The ALARM output operates in comparator mode or interrupt mode based on the setting of the ACOMP bit (D8) in the Alarm Hardware Configuration register (see Table 14). When configured for comparator mode, the ALARM output is asserted when the measured current or temperature value exceeds the set threshold level and is deasserted when the value returns below the set threshold level.
When configured for interrupt mode, the ALARM output is asserted when the measured current/temperature value exceeds the set threshold level and remains asserted until the Flag register is read, at which time the ALARM output is deasserted. The alarm output is only asserted again if the alarm channel recovers and then re-trips (or if a different alarm channel trips). See Figures 19 and 20 for examples of both ALARMoutput modes.
Hysteresis Mode Set the TWIN1 bit (D2) or TWIN2 bit (D6) to 0 in the Alarm Software Configuration register (see Table 12) to set the temperature alarm thresholds for channel 1 or channel 2 to hysteresis mode. Set the IWIN1 bit (D0) or IWIN2 bit (D4) to 0 to set the current alarm thresholds for channel 1 or channel 2 to hysteresis mode. In hysteresis mode, temperature or current measurements are compared to the set temperature/current high and low thresholds. If a measured value is above the set high threshold and the corresponding channel is configured to cause an alarm condition, the alarm asserts. ALARM remains internally asserted until the measured values from that channel fall back below the low threshold setting. The external behavior of ALARM and the gate clamps are controlled by the settings of the ACOMP and ALMCLMP_ bits in the Alarm Hardware Configuration register. See Figures 21 and 22 for hysteresis-mode threshold examples.
Window Mode Set the TWIN1 bit (D2) or TWIN2 bit (D6) to 1 in the Alarm Software Configuration register (see Table 12) to
34
VGATE_ Output Equation Based on the monitored LDMOS current analog input voltage and temperature values, the MAX11008 logically decides if the calculated bias voltage, VGATE_, driving the gate of the RF LDMOS, should be recalculated and adjusted to maintain the desired RF LDMOS drain current. The MAX11008 independently monitors and calculates the VGATE_ voltage for both channel 1 and channel 2. The MAX11008 implements the following equation when calculating VGATE_ for each DAC channel:
______________________________________________________________________________________
Dual RF LDMOS Bias Controller with Nonvolatile Memory MAX11008
(MEASUREMENT VALUE TEMPERATURE OR CURRENT)
HIGH THRESHOLD BUILT-IN HYSTERESIS
BUILT-IN HYSTERESIS LOW THRESHOLD
ALARM OUTPUT
TIME
COMPARATOR MODE (ACTIVE LOW)
INTERRUPT MODE (ACTIVE LOW)
TIME
ALARM FLAG REGISTER READ
ALARM FLAG REGISTER READ
ALARM FLAG REGISTER READ
Figure 19. ALARM Output Signal Example--Alarm Thresholds Configured for Window Mode
HIGHEST POSSIBLE THRESHOLD VALUE (DEFAULT VALUE FOR HIGH THRESHOLD REGISTER)
ALARM OUTPUT ASSERTED WHEN MEASURED VALUE RISES ABOVE THIS LEVEL
ALARM OUTPUT DEASSERTED WHEN MEASURED VALUE FALLS BELOW THIS LEVEL* HIGH THRESHOLD
BUILT-IN 8-64 LSBs OF HYSTERESIS RANGE OF VALUES THAT DO NOT CAUSE AN ALARM BUILT-IN 8-64 LSBs OF HYSTERESIS
LOW THRESHOLD
ALARM OUTPUT ASSERTED WHEN MEASURED VALUE FALLS BELOW THIS LEVEL
ALARM OUTPUT DEASSERTED WHEN MEASURED VALUE RISES ABOVE THIS LEVEL*
LOWEST POSSIBLE THRESHOLD VALUE (DEFAULT VALUE FOR LOW THRESHOLD REGISTER) *ONLY WHEN ALARM IS CONFIGURED FOR COMPARATOR MODE. WHEN IN INTERRUPT MODE, FLAG REGISTER MUST BE READ FOR ALARM TO BE DEASSERTED.
Figure 20. Window-Mode Alarm-Threshold Diagram
______________________________________________________________________________________ 35
Dual RF LDMOS Bias Controller with Nonvolatile Memory MAX11008
MEASUREMENT VALUE (TEMPERATURE OR CURRENT)
HIGH THRESHOLD
LOW THRESHOLD
ALARM OUTPUT COMPARATOR MODE (ACTIVE LOW) INTERRUPT MODE (ACTIVE LOW)
TIME
ALARM FLAG REGISTER READ
ALARM FLAG REGISTER READ
TIME
Figure 21. ALARM Output Signal Example--Alarm Thresholds Configured for Hysteresis Mode
HIGHEST POSSIBLE THRESHOLD VALUE (DEFAULT VALUE FOR HIGH THRESHOLD REGISTER)
ALARM OUTPUT ASSERTED WHEN MEASURED VALUE RISES ABOVE THIS LEVEL
HIGH THRESHOLD
ALARM OUTPUT ASSERTED WHEN MEASURED VALUE FALLS BELOW THIS LEVEL*
LOW THRESHOLD
RANGE OF VALUES THAT WILL NOT CAUSE AN ALARM
*ONLY WHEN ALARM IS CONFIGURED FOR COMPARATOR MODE. WHEN IN INTERRUPT MODE, FLAG REGISTER MUST BE READ FOR ALARM TO BE DEASSERTED.
LOWEST POSSIBLE THRESHOLD VALUE (DEFAULT VALUE FOR LOW THRESHOLD REGISTER)
Figure 22. ALARM Output Signal Example--Alarm Thresholds Configured for Hysteresis Mode
36
______________________________________________________________________________________
Dual RF LDMOS Bias Controller with Nonvolatile Memory
VGATE_ = (2 x VREFDAC x CODE)/4096 = [2 x VREFDAC x (VSET_ + LUTTEMP{Temp} + LUTAPC{APC})]/4096 where: VGATE_ = actual gate voltage. VSET_ = factory-set DAC code at TCAL. LUTTEMP{Temp} = interpolated lookup value in the TEMP table for the sampled temperature. LUTAPC{APC} = interpolated lookup value in the APC table for the APC parameter. TCAL = temperature at which LUTTEMP{TCAL} returns 0; i.e., the calibration temperature. V SET_ is a 12-bit unsigned DAC code (0 to 4095). LUTTEMP{Temp} and LUTAPC{APC} are the result of lookup operations and are 16-bit signed numbers in DAC CODE units. The MAX11008 calculates the sum of (VSET_ + LUTTEMP{Temp} + LUTAPC{APC}) with 16-bit signed arithmetic and limits that result to the 12-bit resolution of the DAC (0 to 4095) to arrive at the final output DAC CODE. The LUT values for Temp (LUTTEMP{Temp}) and APC (LUTAPC{APC}) are the result of lookup table operations (LUT operations). The values are directly stored in the LUT sections of the EEPROM. They are 16-bit signed (two's complement) quantities, but to prevent mathematical overflow, their magnitude should be limited to 12-bit quantities (-4096 to +4095, which is the full range of the DAC ignoring the sign). When averaging is disabled, VGATE_ operations proceed as follows: 1) A new ADC sample is measured and compared to the last sample used for a VGATE_ calculation. 2) The absolute difference between the two ADC measurements is compared to the hysteresis setting. If the difference is equal to or greater than the hysteresis setting, the new sample is used to recalculate VGATE_. If the hysteresis setting is not exceeded, the following steps are bypassed and V GATE_ is not recalculated. 3) The ADC sample is converted to a pointer for the LUT. The mechanism for this is explained in the following section, but the process turns the 12-bit ADC sample into an n-bit pointer. 4) The lookup operation is performed, and if required, an interpolation between two table values is calculated. The result from the lookup table is stored as either LUTTEMP{Temp} or LUTAPC{APC}. 5) The V GATE_ equation is now calculated and depending on the status of the LDAC_ bit, output to the appropriate DAC. The actual value of the DAC output depends on the values within the LUT. It is possible that the new value for VGATE_ is the same as the last value for VGATE_, even though the hysteresis in step 2 was exceeded. If averaging is enabled for either the temperature or APC parameter, the VGATE_ calculation process is the same. The difference is that the value for the ADC sample (step 1 and step 3) is replaced by an ADC average. The MAX11008 measures 16 samples to acquire an initial average. When averaging is enabled, the first 15 samples do not trigger a new average, and a VGATE_ calculation is not triggered. After the average is acquired, each new ADC sample produces a new rolling average. The rolling average is calculated with the following equations. In acquire mode:
15
MAX11008
Average = Sample /16
j=0
Average is only valid after 16 samples. In tracking mode: Average = 15/16 Average + 1/16 Sample = 15/16 Average + 1/16 (Average + Difference) where: Difference = Sample - Average = Average + 1/16 Difference = Average + 1/16 (Limited Difference) The limited difference between the sample and the average is a maximum value that is set by the T_LIMIT and A_LIMIT bits, which are used to reject spurious noise. Difference limiting may be set from 1 LSB to 64 LSBs, or may be disabled altogether. By setting the A_AVGCTL and T_AVGCTL bits, the average tracking formula can be altered to add 1/4 of the difference on each calculation, rather than 1/16. This reduces the filter's time constant and allows the average to track faster moving signals, and is most suited to the APC channel. The A_AVGCTL and T_AVGCTL bits do not alter the formula for acquiring the initial average. If the APC[11:0] value is used instead of an ADC sample for the APC sample, all averaging and hysteresis functions are bypassed. The serial interface directly controls the APC[11:0] value and triggers a VGATE_ calculation each time it is written.
37
______________________________________________________________________________________
Dual RF LDMOS Bias Controller with Nonvolatile Memory MAX11008
Table 4. EEPROM Address Map
WORD ADDRESS BIN 0000 0000 0000 0001 0000 0010 0000 0011 0000 0100 0000 0101 0000 0110 0000 0111 0000 1000 0000 1001 0000 1010 0000 1011 0000 1100 0000 1101 0000 1110 0000 1111 0001 0000 0001 0001 0001 0010 0001 0011 0001 0100 0001 0101 0001 0110 0001 0111 0001 1000 0001 1001 0001 1010 0001 1011 0001 1100 0001 1101 0001 1110 0001 1111 DEC 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 HEX 0 1 2 3 4 5 6 7 8 9 0A 0B 0C 0D 0E 0F 10 11 12 13 14 15 16 17 18 19 1A 1B 1C 1D 1E 1F -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- EE_TH1 EE_TL1 EE_1H1 EE_IL1 EE_TH2 EE_TL2 EE_IH2 EE_IL2 EE_HCFIG EE_ALMSCF EE_SCFIG EE_ALMHCF EE_VSET1 EE_HIST_AP EE_VSET2 EE_HIST_AP INTERFACE (CUSTOMER) COMMAND MNEMONIC TABLE -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 7 8 9 10 7 8 9 10 11 12 13 14 15 16a, 16b 15 16a, 16b Nonvolatile configuration (DPRAM locations) Nonvolatile alarm trip points (DPRAM locations) Unused. User data may be stored here. COMMENT
38
______________________________________________________________________________________
Dual RF LDMOS Bias Controller with Nonvolatile Memory MAX11008
Table 4. EEPROM Address Map (continued)
WORD ADDRESS BIN 0010 0000 0010 0001 0010 0010 0010 0011 0010 0100 0010 0101 0010 0110 0010 0111 0010 1000 0010 1001 0010 1010 0010 1011 0010 1100 0010 1101 0010 1110 0010 1111 0011 0000 0011 0001 0011 0010 0011 0011 0011 0100 0011 0101 0011 0110 0011 0111 0011 1000 0011 1001 0011 1010 0011 1011 0011 1100 0011 1101 0011 1110 0011 1111 DEC 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 HEX 20 21 22 23 24 25 26 27 28 29 2A 2B 2C 2D 2E 2F 30 31 32 33 34 35 36 37 38 39 4A 4B 4C 4D 4E 4F -- -- -- -- -- -- -- -- -- -- -- -- EE_IDAC1 EE_IODAC1 EE_IDAC2 EE_IODAC2 EE_PGACAL EE_ADCCON EE_SSHUT EE_LDAC Reserved Reserved Reserved MAGIC NUMBER Reserved Reserved Reserved Reserved EE_TLUT1 EE_ALUT1 EE_TLUT2 EE_ALUT2 INTERFACE (CUSTOMER) COMMAND MNEMONIC TABLE -- -- -- -- -- -- -- -- -- -- -- -- 17 18 17 18 19 20 21 22 -- -- -- -- -- -- -- -- 5 5 5 5 LUT configuration -- -- -- -- -- -- -- -- -- -- -- AA55 -- -- -- -- Unused. User data may be stored here. COMMENT
______________________________________________________________________________________
39
Dual RF LDMOS Bias Controller with Nonvolatile Memory MAX11008
EEPROM
The MAX11008 features 4Kb of EEPROM capable of storing up to 256 16-bit data words. The first 64 data words of the EEPROM contain configuration data (see Table 4) while the remaining 192 data words are programmable and used for storing temperature and APC LUTs. The MAX11008 utilizes the LUT values to perform gate voltage calculations (see the V GATE _ Output Equation section). See the First-In-First-Out (FIFO), LUT Streaming Mode, and Message Mode sections for more information on how to program and read from the EEPROM. See the Temperature/APC LUT Configuration Registers section for information on how to configure the LUTs and how values are retrieved from the LUTs for VGATE_ calculations. See Table 5. Nonvolatile Initialization Values Upon power-on reset, the data contained within specific EEPROM locations is copied directly to corresponding locations within the register address map depending on the state of the magic number (see the Magic Number section). * Locations 0x10-0x1F are directly copied to their corresponding locations within the register address map. * Locations 0x2C-0x33 are conditionally copied to their corresponding locations within the register address map. Set the MSB (labeled WCTRAM) to 1 for locations 0x2C-0x33 to be copied to the register address map (see Table 4a). By correctly configuring the initialization values stored within the EEPROM, the MAX11008 can automatically enter VGATE_ compensation mode without the need for a host processor. This autonomous operation is useful in some application areas where a host controller is not desired. Changes made to the working registers during operation are volatile. To change a register's nonvolatile initialization value, the corresponding EEPROM location must be written by the LUT streaming protocol.
Magic Number The address location 0x37 of the EEPROM is referred to as the magic address. If the magic address is programmed with the magic number (0xAA55), the values stored in address locations 0x10-0x1F and 0x2C-0x33 are loaded into the working registers (see the Register Address Map section) during power-up initialization. Address locations 0x10-0x1F are unconditionally loaded into the working registers, whereas address locations 0x2C-0x33 are only loaded if bit D15 (WCTRAM) of the address is set to 1. If magic address location 0x37 is not programmed with the magic number (0xAA55), the EEPROM is determined to be unprogrammed; the power-up initialization load is then bypassed and the working registers default to their power-on reset value. LUT Values The values stored within the LUT section of the EEPROM are 16-bit signed (two's complement)
Table 4a. EEPROM Address Bit Map
HEX 10 11 12 13 14 15 16 17 18 19 1A 1B 1C 1D 1D 1E 1F 1F 2C 2D 2E 2F 30 31 32 33 37 3C 3D 3E 3F MNEMONIC EE_TH1 EE_TL1 EE_IH1 EE_IL1 EE_TH2 EE_TL2 EE_IH2 EE_IL2 EE_HCFIG EE_ALMSCF EE_SCFIG EE_ALMHCF EE_VSET1 EE_HIST_AP EE_HIST_AP EE_VSET2 EE_HIST_AP EE_HIST_AP EE_IDAC1 EE_IODAC1 EE_IDAC2 EE_IODAC2 EE_PGACAL EE_ADCCON EE_SSHUT EE_LDAC MAGIC NUMBER EE_TLUT1 EE_ALUT1 EE_TLUT2 EE_ALUT2 TABLE 7 8 9 10 7 8 9 10 11 12 13 14 15 16a 16b 15 16a 16b 17 18 17 18 19 20 21 22 -- 5 5 5 5 BIT 15 X X X X X X X X T1AVGCTL X T2AVGCTL X X T1HIST3 T1HIST3 X T1HIST3 T2HIST3 WCTRAM WCTRAM WCTRAM WCTRAM WCTRAM WCTRAM WCTRAM WCTRAM 1 POFF5 POFF5 POFF5 POFF5 BIT 14 X X X X X X X X T1LIMIT2 X T2LIMIT2 X X T1HIST2 T1HIST2 X T1HIST2 T2HIST2 X X X X X X X X 0 POFF4 POFF4 POFF4 POFF4 BIT 13 X X X X X X X X T1LIMIT1 X T2LIMIT1 X X T1HIST1 T1HIST1 X T1HIST1 T2HIST2 X X X X X X X X 1 POFF3 POFF3 POFF3 POFF3 BIT 12 X X X X X X X X T1LIMIT0 X T1LIMIT0 X X T1HIST0 T1HIST0 X T1HIST0 T2HIST0 X X X X X X X X 0 POFF2 POFF2 POFF2 POFF2 BIT 11 D11 D11 D11 D11 D11 D11 D11 D11 FIFOSTAT A2AVG LDAC2 X D11 D11 X D11 D11 X D11 D11 D11 D11 X X X X 1 POFF1 POFF1 POFF1 POFF1 BIT 10 D10 D10 D10 D10 D10 D10 D10 D10 ADCMON T2AVG TCOMP2 AVGMON D10 D10 X D10 D10 X D10 D10 D10 D10 X X X X 0 POFF0 POFF0 POFF0 POFF0 BIT 9 D9 D9 D9 D9 D9 D9 D9 D9 PG2SET1 A1AVG APCCOMP2 INTEMP2 D9 D9 X D9 D9 X D9 D9 D9 D9 X X X X 1 INT1 INT1 INT1 INT1 BIT 8 D8 D8 D8 D8 D8 D8 D8 D8 PG2SET0 T1AVG TSRC2 ALMCMP D8 D8 X D8 D8 X D8 D8 D8 D8 X X X X 0 INT0 INT0 INT0 INT0 BIT 7 D7 D7 D7 D7 D7 D7 D7 D7 PG1SET1 TALARM2 APCSRC21 ALMHYST1 D7 D7 A1AVGCTL D7 D7 A2AVGCTL D7 D7 D7 D7 X CONCONV X X 0 PSIZE1 PSIZE1 PSIZE1 PSIZE1 BIT 6 D6 D6 D6 D6 D6 D6 D6 D6 PG1SET1 TWIN2 APCSRC20 ALMHYST0 D6 D6 A1LIMIT2 D6 D6 A2LIMIT2 D6 D6 D6 D6 X ADCIN2 X X 1 PSIZE0 PSIZE0 PSIZE0 PSIZE0 BIT 5 D5 D5 D5 D5 D5 D5 D5 D5 CKSEL1 IALARM2 LDAC1 ALMCLMP21 D5 D5 A1LIMIT1 D5 D5 A2LIMIT1 D5 D5 D5 D5 X CS2 X X 0 TSIZE2 TSIZE2 TSIZE2 TSIZE2 BIT 4 D4 D4 D4 D4 D4 D4 D4 D4 CKSEL0 IWIN2 TCOMP1 ALMCLMP20 D4 D4 A1LIMIT0 D4 D4 A2LIMIT0 D4 D4 D4 D4 X EXTTEMP2 X X 1 TSIZE1 TSIZE1 TSIZE1 TSIZE1 BIT 3 D3 D3 D3 D3 D3 D3 D3 D3 ADCREF1 TALARM1 APCCOMP1 ALMCLMP11 D3 D3 A1HIST3 D3 D3 A2HIST3 D3 D3 D3 D3 X ADCIN1 FBGON X 0 TSIZE0 TSIZE0 TSIZE0 TSIZE0 BIT 2 D2 D2 D2 D2 D2 D2 D2 D2 ADCREF0 TWIN1 TSRC1 ALMCLMP10 D2 D2 A1HIST2 D2 D2 A2HIST2 D2 D2 D2 D2 TRACK CS1 OSCPD X 1 SOT2 SOT2 SOT2 SOT2 BIT 1 D1 D1 D1 D1 D1 D1 D1 D1 DACREF1 IALARM1 APCSRC11 ALMPOL D1 D1 A1HIST1 D1 D1 A2HIST1 D1 D1 D1 D1 DOCAL EXTEMP1 DAC2PD DAC_CH2 0 SOT1 SOT1 SOT1 SOT1 BIT 0 D0 D0 D0 D0 D0 D0 D0 D0 DACREF0 IWIN1 APCSRC10 ALMOPN D0 D0 A1HIST0 D0 D0 A2HIST0 D0 D0 D0 D0 SELFTIME INTEMP DAC1PD DAC_CH1 1 SOT0 SOT0 SOT0 SOT0
40
______________________________________________________________________________________
Dual RF LDMOS Bias Controller with Nonvolatile Memory
quantities. But to avoid the possibility of mathematical overflow, the magnitude of the values should be limited to 12 bits (-4096 to +4095, which allows full movement over the range of the 12-bit DAC). (see Table 5b). When INT = 00 the LUT pointer has no fractional bits and no interpolation is performed. When INT = 00, every LUT pointer corresponds directly to a table entry. If INT = 01, the LUT pointer has 1 fractional bit, which represents a fractional 1/2. This represents an LUT pointer that falls midway between two table entries, and the MAX11008 performs a linear interpolation between those two entries. Similarly, INT = 10 provides 2 fractional bits (1/4 resolution or 4:1 interpolation), and INT = 11 provides 3 fractional bits (1/8 resolution or 8:1 interpolation). See the Calculating an LUT Pointer from an ADC Sample/APC Parameter section for a detailed description and examples on calculating LUT pointer values. The SOT bits set the starting addresses of each corresponding LUT in the EEPROM (see Table 5d). Each table starts at one of six possible locations within the EEPROM memory space. It is also possible to make several LUT tables occupy the same memory space within the EEPROM by simply setting identical SOT values. This is useful when temperature or APC data is common to both channels. This allows a single shared table of double the resolution to be implemented instead of two separate identical tables. Tables 5e and 5f contain examples on how to configure the LUTs in EEPROM using the TSIZE, SOT, and PSIZE bits.
MAX11008
Temperature/APC LUT Configuration Registers The LUT Configuration register (see Table 5) specifies the location and the size of the temperature and automatic power control (APC) LUTs. The EEPROM can be configured to have a total of four LUTs (one temperature LUT for each temperature-sensor channel and one APC LUT for each DAC channel). These registers can only be programmed when the device is in LUT streaming mode and are set while data is being streamed into the LUT. The data contained in the LUT Configuration registers is stored in the EEPROM. When VGATE_ calculations are made using temperature and/or APC LUT values, the MAX11008 uses a LUT pointer to retrieve the correct values for the calculation. The LUT pointer value is derived from the most recent 12-bit ADC measurement or directly transferred from the APC Parameter register (see Table 16). The source of the LUT pointer value depends on the settings of the Software Configuration register (see Table 13). PSIZE determines the size of the LUT pointer (see Table 5a). TSIZE specifies the size of the table (see Table 5c). It is permissible to use an LUT pointer that is larger than the table indexed. An 8-bit pointer functions properly with a LUT of 32 data locations. The LUT pointer values that extend beyond the table are limited to the upper (or lower) bound of the table. This technique increases the effective table resolution when the dynamic range of ADC samples is limited. The POFF bits set the offset value that is added to the resulting LUT pointer value. POFF is a signed 6-bit value that is used to apply both positive and negative offset values to the LUT pointer. The range of acceptable offset values depends on PSIZE (see Table 5a). POFF is typically used for temperature LUTs that have LUT data for 0C measurements located at the center of the LUT. For example, if a temperature LUT has 64 data locations (locations 0 through 63), the data for 0C is located at the center of the LUT (location 31). If a temperature measurement is made at 0C, the resulting ADC conversion is 0, which instructs the LUT pointer to retrieve data from the first location (location 0) in the LUT. To retrieve the correct data for 0C (location 31), a pointer offset of 31 needs to be added to the LUT pointer. To increase the accuracy of VGATE_ calculations, the MAX11008 can linearly interpolate intermediate temperature and APC compensation values from the two closest LUT data locations. To accomplish this, fractional bits are added to the LUT pointer by setting the INT bits
Calculating an LUT Pointer from an ADC Sample/APC Parameter Calculate the LUT pointer value using the following steps: 1) The 12-bit ADC value is first shifted to the right by the number of bits as determined by the following equation: 12-bit ADC value right shift = 7 - PSIZE - INT where PSIZE and INT are the decimal values of PSIZE and INT in the LUT Configuration register. The LUT pointer is interpreted as a fixed-point fractional number where PSIZE specifies the number of integer bits and INT specifies the number of fractional bits. 2) The pointer offset value is left-shifted in the following manner: If PSIZE = 00 or 01, no shifting is performed. If PSIZE = 10, POFF is shifted to the left by 1 bit. If PSIZE = 11, POFF is shifted to the left by 2 bits. POFF is interpreted as a signed number. 3) The resulting POFF value is added to the LUT pointer value.
41
______________________________________________________________________________________
Dual RF LDMOS Bias Controller with Nonvolatile Memory
4) The resulting LUT pointer value is bound-limited to ensure it fits within the corresponding LUT. Negative pointer values are limited to zero, and pointer values that extend beyond the range of the LUT are limited to the last entry. 5) The final LUT pointer value is calculated by shifting SOT to the left by 5 bits and then adding it to the current LUT pointer value. If no linear interpolation (INT = 00) is to be performed, the resulting LUT pointer value is equal to the absolute EEPROM address from which the LUT data is retrieved. If linear interpolation is to be performed (INT = 01, 10, or 11), the two LUT addresses that are closest to the resulting LUT pointer value and their corresponding data values are entered into the following equation to calculate the interpolated data value that is used in the VGATE_ calculation:
PTR - ADD1 Interpolated Data = DATA1 + x (DATA2 - DATA1) ADD2 - ADD1
MAX11008
where PTR is the calculated LUT pointer value with fractional bits, ADD1 and ADD2 are the two LUT addresses closest to the value of PTR, and DATA1 and DATA2 are the LUT data values stored at ADD1 and ADD2.
LUT Pointer Example 1 (No Interpolation) POFF = 001000 (offset of +8). INT = 00 (no interpolation/LUT pointer does not have any fractional bits). PSIZE = 00 (5-bit LUT pointer not including any fractional bits).
TSIZE = 001 (LUT has 32 data locations). SOT = 010 (LUT starts at EEPROM address 40 hex).
Table 5b. Fractional Bits Added to LUT Pointer for Linear Interpolation
INT 00 01 10 11 NUMBER OF FRACTIONAL BITS ADDED TO LUT POINTER 0 1 1:2 interpolation 2 1:4 interpolation 3 1:8 interpolation
Table 5. Temperature/APC LUT Configuration Register
DATA BITS D[15:10] D[9:8] D[7:6] D[5:3] D[2:0] BIT NAME POFF INT PSIZE TSIZE SOT RESET STATE 000000 00 00 000 000 FUNCTION POFF bits. Interpolation degree select bits. See Table 5b. LUT pointer size bit. See Table 5a. LUT size bit. See Table 5c. Start of table address bits. See Table 5d.
Table 5c. Selectable LUT Sizes
TSIZE 000 001 010 011 100 101 110 111 Unused Table size of 32 data locations Table size of 64 data locations Table size of 96 data locations Table size of 128 data locations Table size of 160 data locations Table size of 192 data locations Unused LUT SIZE
Table 5a. LUT Pointer Sizes and Offset Ranges
PSIZE 00 01 10 11 LUT POINTER SIZE 5-bit pointer (access up to 32 data locations) 6-bit pointer (access up to 64 data locations) 7-bit pointer (access up to 128 data locations) 8-bit pointer (access up to 256 data locations) POFF OFFSET RANGE* -32 to +31 -32 to +31 -64 to +62 (in steps of 2) -128 to +124 (in steps of 4)
Table 5d. Selectable LUT Starting Addresses
SOT 000 001 010 011 100 101 110 111 STARTING ADDRESS IN EEPROM (HEX) Unused Unused 0x40 0x60 0x80 0xA0 0xC0 0xE0
*POFF is either a negative or positive number. When POFF is negative its value is represented in two's complement format.
42
______________________________________________________________________________________
Dual RF LDMOS Bias Controller with Nonvolatile Memory MAX11008
Table 5e. LUT Configuration Examples
REGISTER ENTRY CONFIGURATION 1 (EXAMPLE) POFF = 010100 INT = 00 PSIZE = 01 TSIZE = 010 SOT = 100 0x5054 POFF = 000000 INT = 00 PSIZE = 00 TSIZE = 001 SOT = 010 0x000A POFF = 100000 INT = 00 PSIZE = 10 TSIZE = 010 SOT = 110 0x4096 POFF = 000000 INT = 00 PSIZE = 00 TSIZE = 001 SOT = 011 0x000B CONFIGURATION 2 (EXAMPLE) POFF = 010100 INT = 00 PSIZE = 01 TSIZE = 010 SOT = 100 0x5054 POFF = 000000 INT = 00 PSIZE = 01 TSIZE = 010 SOT = 010 0x0052 POFF = 010100 INT = 00 PSIZE = 01 TSIZE = 010 SOT = 110 0x5056 POFF = 000000 INT = 00 PSIZE = 01 TSIZE = 010 SOT = 010 0x0052 CONFIGURATION 3 (EXAMPLE) POFF = 100000 INT = 00 PSIZE = 10 TSIZE = 100 SOT = 010 0x40A2 POFF = 000000 INT = 00 PSIZE = 10 TSIZE = 100 SOT = 100 0x00A4 POFF = 100000 INT = 00 PSIZE = 10 TSIZE = 010 SOT =010 0x4092 POFF = 000000 INT = 00 PSIZE = 01 TSIZE = 010 SOT = 010 0x00A4 CONFIGURATION 4 (EXAMPLE) Unused (TCOMP in Software Configuration register should be set to 0) POFF = 000000 INT = 00 PSIZE = 11 TSIZE = 110 SOT = 010 0x00F2 Unused (TCOMP in Software Configuration register should be set to 0) POFF = 000000 INT = 00 PSIZE = 11 TSIZE = 110 SOT = 010 0x00F2
Temperature LUT1
APC LUT1
Temperature LUT2
APC LUT2
Table 5f. Visual Example of LUT
WORD ADDRESS 0x00 to 0x0F 0x10 to 0x3F 0x40 to 0x5F APC LUT1 32 x 16 bits APC LUT2 32 x 16 bits Temperature LUT1 64 x 16 bits Temperature LUT2 64 x 16 bits CONFIGURATION 1 (EXAMPLE) CONFIGURATION 2 (EXAMPLE) Configuration data CONFIGURATION 3 (EXAMPLE) CONFIGURATION 4 (EXAMPLE)
Dedicated user message
Unified APC LUT 64 x 16 bits
Unified Temperature LUT 64 x 16 bits Unified APC LUT 192 x 16 bits Unified APC LUT 128 x 16 bits
0x60 to 0x7F 0x80 to 0x9F 0xA0 to 0xBF 0xC0 to 0xDF 0xE0 to 0xFF
Temperature LUT1 64 x 16 bits Temperature LUT2 64 x 16 bits
______________________________________________________________________________________
43
Dual RF LDMOS Bias Controller with Nonvolatile Memory MAX11008
ADC sample = 495 hex << x indicates a logical shift left by x number of bits. >> x indicates a logical shift right by x number of bits. 1) LUT pointer = ADC sample >> (7 - PSIZE - INT) = 495 hex >> (7 - 0 - 0) = 495 hex >> 7 = 9 hex (9 decimal) 2) POFF = POFF << 0 = 001000 bin << 0 = 001000 bin = 8 hex (8 decimal) 3) LUT pointer = LUT pointer + POFF = 9 hex + 8 hex = 11 hex (17 decimal) 4) Test LUT pointer is within the table size Is 0 LUT pointer 31? Yes, LUT pointer does not need limiting to table size. LUT pointer = 11 hex (17 decimal) 5) EEPROM address = (SOT << 5) + LUT pointer = (010 << 5) + 11 hex = 40 hex + 11 hex = 51 hex (81 decimal) 6) The LUT data at EEPROM address 51 hex is used for the VGATE_ calculation. Since the LUT pointer is a fixed point fractional number with 7 integer bits and 2 fractional bits, the LUT pointer value of 1CD hex is interpreted as 73.4 hex (115.25 decimal). 3) POFF = POFF << 1 = 101000 bin << 1 = 1010000 bin = D0 hex (-48 decimal) 4) LUT pointer = LUT pointer + POFF = 73.4 hex (115.25 decimal) + D0 hex (-48 decimal) = 43.4 hex (67.25 decimal) 5) Test LUT pointer is within the table size Is 0 LUT pointer 127? Yes, LUT pointer does not need limiting. LUT pointer = 43.4 hex (67.25 decimal). = (100 << 5) + LUT pointer = 80 hex + 43.4 hex = C3.4 hex (195.25 decimal) The EEPROM address is a fixed-point fractional number (C3.4 hex), which falls between table entries at address C3 hex and C4 hex. Linear interpolation is performed between these two entries. ADD1 = C3 hex (195 decimal) ADD2 = C4 hex (196 decimal) The interpolated data is calculated using ADD1 and ADD2 and the corresponding data stored at these address locations using the linear interpolation equation:
EEPROM Address - ADD1 Interpolated Data = LUT[ADD1] + ADD2 - ADD1 x (LUT[ADD2] - LUT[ADD1]) 195.25 - 195 Interpolated Data = LUT[C3 Hex] + 196 - 195 x (LUT[C4 Hex] - LUT[C3 Hex]) Interpolated Data = LUT[C3 Hex] + (0.25) x (LUT[C4 Hex] - LUT[C3 Hex])
LUT Pointer Example 2 (With Interpolation) POFF = 101000 (offset of -24) INT = 10 (linear interpolation required/LUT pointer has 2 fractional bits)
PSIZE = 10 (7-bit LUT pointer not including any fractional bits) TSIZE = 100 (LUT has 128 data locations) SOT = 100 (LUT starts at EEPROM address 80 hex) ADC sample = E6A hex << x indicates a logical shift left by x number of bits. >> x indicates a logical shift right by x number of bits. 1) LUT pointer = ADC sample >> (7 - PSIZE - INT) 2) = E6A hex >> (7 - 2 - 2) = E6A hex >> 3 = 1CD hex (461 decimal) = 111001101 bin = 1110011.01 bin in 7.2 fixed-point format = 73.4 hex in 7.2 fixed-point format (115.25 decimal)
44
where LUT[C3 hex] and LUT[C4] are the data values stored at EEPROM addresses C3 hex and C4 hex.
Register Address Map
Table 6 lists the addresses for all of the 16-bit registers that are accessible through the serial interface. To read from and write to these registers, follow the proper SPI or I 2 C read and write sequences described in the Digital Serial Interface section. Bit C7 in the command byte controls whether data is written to or read from the register. This is not the same bit as the I2C read/write
______________________________________________________________________________________
Dual RF LDMOS Bias Controller with Nonvolatile Memory
that is sent with the slave address (see the Register Address/Data Bytes (5-Byte Read Cycle) section). Tables 7 to 27 describe each register in detail. (1111 1111 1111) by default. After initial power-up, the high current threshold can be set to the desired value. The high current threshold value can be initialized from the EEPROM.
MAX11008
Register Descriptions
High Temperature Threshold Registers (TH1, TH2) (Read/Write) The High Temperature Threshold registers set the upper alarm thresholds for each temperature sensor channel (see Table 7). The temperature value is entered into the register in the same format as the ADC temperature conversion results, which is a 12-bit signed (two's complement) fixed-point number with the 3 LSBs being the fractional bits. See the Alarm Function section for more information on configuring the alarm thresholds. When the MAX11008 is powered up for the first time, the high temperature threshold is set to the maximum value (0111 1111 1111 = +255.875C) by default. After initial power-up, the high temperature threshold can be set to the desired value. The high temperature threshold value can be initialized from the EEPROM. Low Temperature Threshold Registers (TL1, TL2) (Read/Write) The Low Temperature Threshold registers set the lower alarm thresholds for each temperature sensor channel (see Table 8). The temperature value is entered into the register in the same format as the ADC temperature conversion results, which is a 12-bit signed (two's complement) fixed-point number with the 3 LSBs being the fractional bits. See the Alarm Function section for more information on configuring the alarm thresholds. When the MAX11008 is powered up for the first time, the low temperature threshold is set to the minimum value (1000 0000 0000 = -256.0C) by default. After initial power-up, the low temperature threshold can be set to the desired value. The low temperature threshold value can be initialized from the EEPROM. High Current Threshold Registers (IH1, IH2) (Read/Write) The High Current Threshold registers set the upper alarm thresholds for each current-sense amplifier channel (see Table 9). The current threshold value is entered into the register in the same format as the ADC current conversion results, which is a 12-bit unsigned binary. See the Alarm Function section for more information on configuring the alarm thresholds. When the MAX11008 is powered up for the first time, the high current threshold is set to the maximum value
Low Current Threshold Registers (IL1, IL2) (Read/Write) The Low Current Threshold registers set the lower alarm thresholds for each current-sense amplifier channel (see Table 10). The current threshold value is entered into the register in the same format as the ADC current conversion results, which is a 12-bit unsigned binary. See the Alarm Function section for more information on configuring the alarm thresholds. When the MAX11008 is powered up for the first time, the low current threshold is set to the minimum value (0000 0000 0000) by default. After initial power-up, the low current threshold can be set to the desired value. The low current threshold value can be initialized from the EEPROM. Hardware Configuration Register (HCFIG) (Read/Write) Select FIFO status indication through the ALARM output, ADC monitoring mode, ADC clock modes, PGA gain settings, DAC reference modes, and ADC reference modes by setting bits D[11:0] in the Hardware Configuration register (see Table 11). Set T1AVGCTL to 1 to enable the channel 1 averagingequation bit. The T1AVGCTL bit controls the averaging equation for channel 1 while the device is in tracking mode. The T1AVGCTL bit only affects the tracking mode of the averaging. The bit does not affect the acquirement of the initial average. The initial average always requires 16 samples to generate a valid average. Set T1AVGCLT to 0 for the average plus 1/16 difference. Set T2AVGCLT to 1 for the average plus 1/4 difference. See Table 11a. Program T1LIMIT[2:0] to enable and set the difference limiter for channel 1 temperature averaging. The channel 1 temperature average must be enabled for the contents of T1LIMIT[2:0] to have any effect on the measured data (see the Alarm Software Configuration Register (ALMSCFIG) (Read/Write) section). The T1LIMIT[2:0] field only affects the tracking mode of the average function. When tracking the average, the difference between the current average and the new sample is calculated. The difference is then added into the average according to the T1AVGCTL bit. However, before being added, the difference is limited according to the T1LIMIT[2:0] field. See Table 11b.
______________________________________________________________________________________
45
Dual RF LDMOS Bias Controller with Nonvolatile Memory MAX11008
Table 6. Register Address Map
REGISTER Channel 1 High Temperature Threshold Channel 2 High Temperature Threshold Channel 1 Low Temperature Threshold Channel 2 Low Temperature Threshold Channel 1 High Current Threshold Channel 1 Low Current Threshold Channel 2 High Temperature Threshold Channel 2 Low Temperature Threshold Hardware Configuration Alarm Software Configuration Software Configuration Alarm Hardware Configuration VSET1 VSET2 APC1 Parameter APC2 Parameter DAC1 Input (Write Only) DAC2 Input (Write Only) DAC1 Input and Output (Write Only) DAC2 Input and Output (Write Only) PGA Calibration Control ( Write Only) ADC Conversion (Write Only) Software Shutdown (Write Only) Load DAC (Write Only) Message (Write Only) FIFO Software Clear (Write Only) LUT Streaming (Write Only) Flag (Read Only) MNEMONIC TH1 TH2 TL1 TL2 IH1 IL1 IH2 IL2 HCFIG ALMSCFIG SCFIG ALMHCFIG VSET1 VSET2 HIST_APC1 HIST_APC2 IDAC1 IDAC2 IODAC1 IODAC2 PGACAL ADCCON SSHUT LDAC -- -- SCLR -- -- SEE TABLE 7 7 8 8 9 9 10 10 11 12 13 14 15 15 16 16 17 17 18 18 19 20 21 22 23 24 25 27 26 COMMAND BITS C7 RW RW RW RW RW RW RW RW RW RW RW RW RW RW RW RW 0 0 0 0 0 0 0 0 0 RW 0 0 1 C6 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 1 1 1 1 1 1 1 1 1 1 1 1 C5 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 0 0 0 0 1 1 1 1 1 1 1 1 1 C4 0 0 0 0 0 0 0 0 1 1 1 1 1 1 1 1 1 1 1 1 0 0 0 0 0 1 1 1 1 C3 0 1 0 1 0 0 1 1 0 0 0 0 1 1 1 1 1 1 1 1 0 0 0 0 1 0 0 1 0 C2 0 0 0 0 1 1 1 1 0 0 1 1 0 1 0 0 0 1 0 1 0 0 1 1 1 0 1 1 1 C1 0 0 1 1 0 1 0 1 0 1 0 1 0 0 1 1 0 0 1 1 0 1 0 1 1 1 0 1 1 C0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 HEX CODE WRITE READ 20 28 22 2A 24 26 2C 2E 30 32 34 36 38 3C 3A 3E 58 5C 5A 5E 60 62 64 66 6E 72 74 7E -- A0 A8 A2 AA A4 A6 AC AE B0 B2 B4 B6 B8 BC BA BE -- -- -- -- -- -- -- -- -- 80 -- -- F6
The following properties of the register address map should be noted: * All register data is volatile. * Data stored in locations TH1, TH2, TL1, TL2, IH1, IH2, IL1, IL2, HCFIG, ALMSCFIG, SCFIG, ALMHCFIG, VSET1, VSET2, IDAC1, IDAC2, IODAC1, IODAC2, PGACAL, ADCCON, SSHUT, and LDAC can be loaded from EEPROM at power-up or after a full reset. * Write to the FIFO register only in LUT streaming mode (see the LUT Streaming Mode section).
46
______________________________________________________________________________________
Dual RF LDMOS Bias Controller with Nonvolatile Memory
Set FIFOSTAT to 1 to use the ALARM output to monitor the data flow of the FIFO while in LUT streaming mode or message mode. See the LUT Streaming Mode and Message Mode sections for more information on these modes of operation and how to use the ALARM output for FIFO flow control. Set ADCMON to 1 to copy ADC conversion results into the FIFO where it can be read out through the serial interface. See the ADC Monitoring Mode section for more information on reading conversion results from the FIFO. ADCMON and AVGMON cannot be active at the same time. Program PG_SET[1:0] to set the channel 1 and channel 2 current-sense amplifier gain (see Table 11c). Program CKSEL[1:0] to set the conversion and acquisition timing clock modes (see Table 11d). See the Internally Timed Acquisitions and Conversions section for detailed descriptions of each clock mode. Program ADCREF[1:0] to establish the source of the ADC reference (see Table 11e). Program the DACREF[1:0] to establish the source of the DAC reference (see Table 11f). See the ADC and DAC References section for more information on configuring the data converter references.
MAX11008
Alarm Software Configuration Register (ALMSCFIG) (Read/Write) Configure the software alarm functions with bits D[11:0] in the Alarm Software Configuration register (see Table 12). Bits D[15:12] are don't-care bits. Set A_AVG to 1 to enable the APC averaging and filtering function for channel 1 and channel 2. The APCSRC_ field in the SCFG register controls the source of the sample.
Table 7. High Temperature Threshold Register
DATA BITS D[15:12] D[11:D0] BIT NAME Unused THI[11:0] RESET STATE X Unused bits. FUNCTION
0111 1111 1111 High temperature threshold data bits.
X = Don't care.
Table 8. Low Temperature Threshold Register
DATA BITS D[15:12] D[11:0] BIT NAME Unused TLO[11:0] RESET STATE X 1000 0000 0000 Unused bits. Low temperature threshold data bits. FUNCTION
X = Don't care.
Table 9. High Current Threshold Register
DATA BITS D[15:12] D[11:0] BIT NAME Unused IHI[11:0] RESET STATE X Unused bits. FUNCTION
1111 1111 1111 High current threshold data bits.
X = Don't care.
Table 10. Low Current Threshold Register
DATA BITS D[15:12] D[11:0] BIT NAME Unused ILO[11:0] RESET STATE X Unused bits. 0000 0000 0000 Low current threshold data bits. FUNCTION
X = Don't care.
______________________________________________________________________________________ 47
Dual RF LDMOS Bias Controller with Nonvolatile Memory MAX11008
Table 11. Hardware Configuration Register
DATA BITS D15* D[14:12]* BIT NAME T1AVGCTL T1LIMIT[2:0] RESET STATE 0 000 FUNCTION Channel 1 averaging-equation bit. This bit controls the averaging equation for channel 1 while the device is in tracking mode. See Table 11a. Channel 1 difference-limiter bits. Set T1LIMIT[2:0] to enable the difference limiter for channel 1 temperature averaging. See Table 11b. If the FIFOSTAT bit is set to 1, the ALARM output is used to monitor data flow into/out of the FIFO and EEPROM while in the message and LUT streaming modes. ADC monitor enable bit. If ADCMON is set to 1, the result from the ADC conversion is copied into the FIFO, from where it can be read over the serial interface. If ADCMON = 0, the result is not copied into the FIFO. ADCMON and AVGMON cannot be active at the same time. PGA2 gain-setting bits. See Table 11c. PGA1 gain-setting bits. See Table 11c. Clock mode and CNVST bits. See Table 11d. ADC reference select bits. See Table 11e. DAC reference select bits. See Table 11f.
D11
FIFOSTAT
0
D10
ADCMON
0
D[9:8] D[7:6] D[5:4] D[3:2] D[1:0]
PG2SET[1:0] PG1SET[1:0] CKSEL[1:0] ADCREF[1:0] DACREF[1:0]
00 00 00 00 00
X = Don't care.
*Write only.
Table 11a. Channel 1 Averaging Equation (T1AVGCTL)
D15 0 1 CHANNEL 1 AVERAGING EQUATION Average = average + 1/16 difference. Average = average + 1/4 difference.
Table 11b. Channel 1 Difference-Limiter Bits (T1LIMIT[2:0])
D14 0 0 0 0 1 1 1 1 D13 0 0 1 1 0 0 1 1 D12 0 1 0 1 0 1 0 1 CHANNEL 2 DIFFERENCE-LIMITER BITS (T2LIMIT[2:0]) No limiting is applied. Difference is limited to 1 LSB (1/8 of a degree). Difference is limited to 3 LSBs (3/8 of a degree). Difference is limited to 7 LSBs (7/8 of a degree). Difference is limited to 15 LSBs (1 7/8 degrees). Difference is limited to 31 LSBs (3 7/8 degrees). Difference is limited to 63 LSBs (7 7/8 degrees). Difference is limited to 127 LSBs (15 7/8 degrees).
48
______________________________________________________________________________________
Dual RF LDMOS Bias Controller with Nonvolatile Memory MAX11008
Table 11c. PGA1 and PGA2 Gain Setting Bits (PG_SET[1:0])
PG_SET1 0 0 1 PG_SET0 0 1 X PGA GAIN 2 10 25
X = Don't care.
Table 11d. Clock Mode and CNVST Bit (CKSEL[1:0])
CKSEL1 0 CKSEL0 0 ADC CONVERSION TYPE Internally timed acquisitions and conversions start by writing to the ADC Conversion register and enabling one or more channels. See the ADC Conversion Register (ADCCON) (Write Only) section. All of the selected channels are sequentially converted each time the ADC Conversion register is written to. Internally timed acquisitions and conversions start by asserting a low pulse at CNVST whenever one or more channels are enabled in the ADC Conversion register. All of the selected channels are sequentially converted each time a low pulse is asserted at CNVST. Reserved. Do not use. Selected channels are converted individually each time CNVST is pulled low. Each low pulse on CNVST converts the next channel in the sequence.
0 1 1
1 0 1
X = Don't care.
Table 11e. ADC Reference Configuration Bits (ADCREF[1:0])
ADCREF1 0 1 1 ADCREF0 X 0 1 ADC uses internal reference voltage. ADC uses internal reference voltage. Connect external decoupling capacitor at REFADC for better noise performance. ADC REFERENCE ADC uses external reference voltage supplied at the ADCREF input.
X = Don't care.
Table 11f. DAC Reference Configuration Bits (DACREF[1:0])
DACREF1 0 1 1 DACREF0 X 0 1 DAC uses internal reference voltage. DAC uses internal reference voltage. Connect external decoupling capacitor at REFDAC for better noise performance. DAC REFERENCE DAC uses external reference voltage supplied at the DACREF input.
X = Don't care.
______________________________________________________________________________________
49
Dual RF LDMOS Bias Controller with Nonvolatile Memory
Set T_AVG to 1 to enable the temperature averaging and filtering function for channel 1 and channel 2. The TSRC_ field in the SCFG register controls the source of the sample. Set TALARM_ to 1 to enable and to 0 to disable the alarm function for channel 1 and channel 2 temperature measurements. Set TWIN_ to 0 to configure the channel 1 and channel 2 temperature alarms for hysteresis mode, and set TWIN_ to 1 to configure the channel 1 and channel 2 temperature alarms for window mode. See the Hysteresis Mode and Window Mode sections for detailed descriptions of each alarm mode. Use the Alarm Hardware Configuration register to set the value of hysteresis when in window mode (see Tables 14 and 14a). Set IALARM_ to 1 to enable and to 0 to disable the alarm function for channel 1 and channel 2 current measurements. Set IWIN_ to 0 to configure the channel 1 and channel 2 current-sense alarm for hysteresis mode, and set IWIN_ to 1 to configure the channel 1 and channel 2 current-sense alarm for window mode. See the Hysteresis Mode and Window Mode sections for detailed descriptions of each alarm mode. Use the Alarm Hardware Configuration register to set the value of hysteresis when in window mode (see Tables 14 and 14a). acquirement of the initial average. The initial average always requires 16 samples to generate a valid average. Set T2AVGCLT to 0 for average plus 1/16 of the difference. Set T2AVGCLT to 1 for average plus 1/4 of the difference. See Table 13a. Program T2LIMIT[2:0] to enable and set the difference limiter for channel 2 temperature averaging. The channel 2 temperature average must be enabled for the contents of the T2LIMIT[2:0] field to have any effect on the measured data (see the Alarm Software Configuration Register (ALMSCFIG) (Read/Write) section). The T2LIMIT[2:0] field only affects the tracking mode of the average function. When tracking the average, the difference between the current average and the new sample is calculated. The difference is then added into the average according to the T2AVGCTL bit, but before being added the difference is limited according to the T2LIMIT[2:0] field. See Table 13b. Set LDAC_ to 0 to load the VGATE_ calculation result into the channel 1 and channel 2 DAC input and output registers, forcing the VGATE_ output to change as soon as the VGATE_ calculation is completed. Set LDAC_ to 1 to load the calculation result into the channel 1 and channel 2 DAC input registers. Transfer the results from the input register to the output register by writing to the Load DAC register (see the Load DAC Register (LDAC) (Write Only) section). Set TCOMP_ to 1 to allow VGATE_ calculations to be triggered by changes in channel 1 and channel 2 temperature measurements. In this mode, the VGATE_ calculation includes a temperature LUT value. The temperature measurement values that trigger VGATE_ calculations depend on the settings of T_HIST[3:0] in the APC Parameter register. Set APCCOMP_ to 1 to allow VGATE_ calculations to be triggered by changes in channel 1 and channel 2 current-sense measurements or the APC parameter in the APC Parameter register. In this mode, the VGATE_ calculation includes an APC LUT value. The current measurement values that trigger V GATE_ calculations depend on the settings of A_HIST[3:0] in the APC Parameter register. Set TSRC_ to 0 to use the channel 1 and channel 2 external temperature sensor as the source of the temperature parameter for VGATE_ calculations. Set TSRC_ to 1 to use the internal temperature sensor as the source of the temperature parameter for VGATE_ calculations. Set APCSRC[1:0] to select the source of the APC parameter used for VGATE_ calculations (see Table 13c).
MAX11008
Software Configuration Register (SCFIG) (Read/Write) Bits D[15:0] in the Software Configuration register (see Table 13) control the parameters that trigger VGATE_ calculations, how the results of the VGATE_ calculation are applied (APC and/or temperature compensation), and whether the calculation result is written to the DAC input register only or to both input and output registers. The register also determines the source of the APC and temperature parameters, which are used to calculate the LUT pointer for retrieving LUT values (see the Temperature/APC LUT Configuration Registers section). The data stored in the Software Configuration register can be initialized from the EEPROM. Table 13d summarizes all of the possible VGATE_ calculation trigger conditions that can be set by the Software Configuration register. Set T2AVGCTL to 1 to enable the channel 2 averagingequation bit. The T2AVGCTL bit controls the averaging equation for channel 2 while the device is in tracking mode. The T2AVGCTL bit only affects the tracking mode of the averaging. The bit does not affect the
50
______________________________________________________________________________________
Dual RF LDMOS Bias Controller with Nonvolatile Memory
Alarm Hardware Configuration Register (ALMHCFIG) (Read/Write) Configure the hardware alarm functions with bits D[10:0] in the Alarm Hardware Configuration register (see Table 14). Bits D[15:11] are don't-care bits. Set AVGMON to 1 to write ADC averages to the FIFO. The tracking average has a unique channel tag and is distinguishable from the raw sample. The average monitoring is automatically suspended when in LUT streaming and message modes. ADCMON and AVGMON cannot be active at the same time. Set INTEMP2 to 1 to configure the channel 2 temperature alarm to monitor the internal temperature sensor readings rather than the channel 2 external temperature sensor. The status of the alarm is indicated by the channel 2 temperature flags in the flag register. The current-sense alarm for channel 2 is no longer available in this mode. Set ALMCOMP to 1 to configure the ALARM output for comparator mode, and set ALMCOMP to 0 to configure the ALARM output for interrupt mode. See the ALARMOutput Modes section for a detailed description of each type of ALARM output mode. Program ALMHYST[1:0] to set the amount of hysteresis that is applied to the alarm thresholds when the alarm function is configured for window mode (see Table 14a). See the Window Mode section for a detailed description of how the hysteresis is applied. Set ALMCLMP[1:0] to control the methods to clamp the GATE_ to AGND when an alarm is triggered (see Table 14b). Set ALMPOL to 1 to configure the ALARM output to be active-low, and set ALMPOL to 0 to configure the ALARM output to be active-high. Set ALMOPEN to 1 to configure the ALARM output for an open-drain output (pullup resistor required), and set ALMOPEN to 0 for a push-pull output. VSET Registers (VSET1, VSET2) (Read/Write) The VSET registers set the nominal GATE_ output code without any temperature or APC compensation (see Table 15). This value is input into the VGATE_ calculation (see the VGATE_ Output Equation section). Writing to this register triggers a VGATE_ calculation, and the result of that calculation is loaded into either the DAC_ input register or the DAC_ input and output registers depending on the state of the LDAC_ bit in the Software Configuration register. Bits D[15:12] are don't-care bits. T_HIST_APC Registers (HIST_APC1, HIST_APC2) (Read/Write) The T_HIST_APC registers are dual-functionality registers. The function of the T_HIST_APC registers depends upon the value of APCSRC_[1:0] bits in the Software Configuration register (see Table 13). If APCSRC_[1:0] = 00, the T_HIST_APC registers hold the APC parameter and the temperature hysteresis controls (see Table 16a). If APCSRC_[1:0] = 10 or 11, the T_HIST_APC registers hold the APC averaging and hysteresis controls as well as temperature hysteresis controls (see Table 16b). The T_HIST register bits T_HIST[3:0] set the temperature hysteresis limits for both channel 1 and channel 2 VGATE_ calculations. After a new temperature sample, the device proceeds in performing a VGATE_ calculation if that sample differs from the previous sample used for a VGATE_ calculation by an amount greater than the hysteresis setting (see Table 16c). Set APCCOMP_ and TCOMP_ to 0 before T_HIST is changed. The APC register bits (APC[11:0]) set the value that is converted into the LUT pointer value, which is subsequently used to retrieve the APC LUT value for VGATE_ calculations (see Table 16a). This value is used only when APCSRC_1 is set to 0 in the Software Configuration register. Writing to this register triggers a VGATE_ calculation when APCSRC_1 is set to 0 and APCCOMP_ is set to 1 in the Software Configuration register. The A_AVGCTL bit controls the averaging equation for APC while the device is in tracking mode. The A_AVGCTL bit only affects the tracking mode of the averaging. The bit does not affect the acquirement of the initial average. The initial average always requires 16 samples to generate a valid average. Set A_AVGCLT to 0 for average plus 1/16 of the difference. Set A_AVGCTL to 1 for average plus 1/4 of the difference (see Table 16c). Program A_LIMIT[2:0] to enable and set the difference limiter for APC averaging. The APC average must be enabled for the contents of the A_LIMIT[2:0] field to have any effect on the measured data. The A_LIMIT[2:0] field only affects the tracking mode of the average function. When tracking the average, the difference between the current average and the new sample is calculated. The difference is then added into the average according to the A_AVGCTL bit, but before being added the difference is limited according to the A_LIMIT[2:0] field (see Table 16d).
MAX11008
______________________________________________________________________________________
51
Dual RF LDMOS Bias Controller with Nonvolatile Memory MAX11008
Table 12. Alarm Software Configuration Register
DATA BITS D[15:12] BIT NAME Unused RESET STATE X Unused bits. Channel 2 APC averaging and filtering bit. Set to 1 to enable the APC averaging and filtering function for channel 2. The source of the sample is controlled by the APCSRC2 field in the Software Configuration register. Channel 2 temperature averaging and filtering bit. Set to 1 to enable the temperature averaging and filtering function for channel 2. The source of the sample is controlled by the TSRC2 field in the Software Configuration register. Channel 1 APC averaging and filtering bit. Set to 1 to enable the APC averaging and filtering function for channel 1. The source of the sample is controlled by the APCSRC1 field in the Software Configuration register. Channel 1 temperature averaging and filtering bit. Set to 1 to enable the temperature averaging and filtering function for channel 1. The source of the sample is controlled by the TSRC1 field in the Software Configuration register. Channel 2 temperature alarm enable bit. Set TALARM2 to 1 to enable the channel 2 temperature alarm. Channel 2 temperature alarm window bit. Set to 0 for hysteresis mode, and set to 1 for window mode. See the Hysteresis Mode and Window Mode sections. Channel 2 current alarm enable bit. Set IALARM2 to 1 to enable the channel 2 current alarm. Channel 2 current alarm window bit. Set to 0 for hysteresis mode, and set to 1 for window mode. See the Hysteresis Mode and Window Mode sections. Channel 1 temperature alarm enable bit. Set TALARM1 to 1 to enable the channel 1 temperature alarm. Channel 1 temperature alarm window bit. Set to 0 for hysteresis mode, and set to 1 for window mode. See the Hysteresis Mode and Window Mode sections. Channel 1 current alarm enable bit. Set IALARM1 to 1 to enable the channel 1 current alarm. Channel 1 current alarm window bit. Set to 0 for hysteresis mode, and set to 1 for window mode. See the Hysteresis Mode and Window Mode sections. FUNCTION
D11*
A2AVG
0
D10*
T2AVG
0
D9*
A1AVG
0
D8*
T1AVG
0
D7
TALARM2
0
D6
TWIN2
0
D5 D4 D3
IALARM2 IWIN2 TALARM1
0 0 0
D2
TWIN1
0
D1 D0
IALARM1 IWIN1
0 0
X = Don't care.
*Write only.
52
______________________________________________________________________________________
Dual RF LDMOS Bias Controller with Nonvolatile Memory MAX11008
Table 13. Software Configuration Register
DATA BITS D15* D[14:12]* BIT NAME T2AVGCTL T2LIMIT[2:0] RESET STATE 0 000 FUNCTION Channel 2 averaging-equation bit. This bit controls the averaging equation for channel 2 while the device is in tracking mode. See Table 13a. Channel 2 difference-limiter bits. Set T2LIMIT[2:0] to enable the difference limiter for channel 2 temperature averaging. See Table 13b. Channel 2 LDAC control bit. Set to 0 to load calculation results into the DAC 2 input and output registers. Set to 1 to load calculation results into the DAC 2 input register only. Channel 2 temperature compensation enable bit. Set to 1 to allow VGATE2 calculations to be triggered by channel 2 temperature measurements. Channel 2 APC parameter compensation enable bit. Set to 1 to allow VGATE2 calculations to be triggered by channel 2 current-sense measurements or APC2 parameter changes. Channel 2 temperature sensor select bit. Set to 0 to use the channel 2 external temperature sensor as the source of the temperature parameter for VGATE2 calculations. Set to 1 to use the internal temperature sensor. Channel 2 APC parameter select bits. Set APCSRC2[1:0] to select the data source for VGATE2 calculations. See Table 13c. Channel 1 LDAC control bit. Set to 0 to load calculation results into the DAC 1 input and output registers. Set to 1 to load calculation results into the DAC 1 input register only. Channel 1 temperature compensation enable bit. Set to 1 to allow VGATE1 calculations to be triggered by channel 1 temperature measurements. Channel 1 APC parameter compensation enable bit. Set to 1 to allow VGATE1 calculations to be triggered by channel 1 current-sense measurements or APC1 parameter changes. Channel 1 temperature sensor select bit. Set to 0 to use the channel 1 external temperature sensor as the source of the temperature parameter for VGATE1 calculations. Set to 1 to use the internal temperature sensor. Channel 1 APC parameter select bits. Set APCSRC1[1:0] to select the data source for VGATE1 calculations. See Table 13c.
D11
LDAC2
0
D10
TCOMP2
0
D9
APCCOMP2
0
D8
TSRC2
0
D[7:6]
APCSRC2[1:0]
00
D5
LDAC1
0
D4
TCOMP1
0
D3
APCCOMP1
0
D2
TSRC1
0
D[1:0]
APCSRC1[1:0]
00
X = Don't care.
*Write only.
______________________________________________________________________________________
53
Dual RF LDMOS Bias Controller with Nonvolatile Memory MAX11008
Table 13a. Channel 2 Averaging Equation (T2AVGCTL)
D15 0 1 CHANNEL 2 AVERAGING EQUATION Average = average + 1/16 difference. Average = average + 1/4 difference.
Table 13b. Channel 2 Difference Limiter Bits (T2LIMIT[2:0])
D14 0 0 0 0 1 1 1 1 D13 0 0 1 1 0 0 1 1 D12 0 1 0 1 0 1 0 1 CHANNEL 2 DIFFERENCE LIMITER No limiting is applied. Difference is limited to 1 LSB (1/8 of a degree). Difference is limited to 3 LSBs (3/8 of a degree). Difference is limited to 7 LSBs (7/8 of a degree). Difference is limited to 15 LSBs (1 7/8 degrees). Difference is limited to 31 LSBs (3 7/8 degrees). Difference is limited to 63 LSBs (7 7/8 degrees). Difference is limited to 127 LSBs (15 7/8 degrees).
Table 13c. APC Parameter Source Select Bits (APCSRC_1, APCSRC_0)
APCSRC_1 0 0 1 1 APCSRC_0 0 1 0 1 Reserved. Do not use. Drain current samples. External input samples (AIN input). APC PARAMETER SOURCE SELECT Value stored in APC parameter register.
The A_HIST register bits A_HIST[3:0] set the APC hysteresis limits for both channel 1 and channel 2 VGATE_ calculations. After a new APC sample, the device proceeds in performing a VGATE_ calculation if that sample differs from the previous sample used for a VGATE_ calculation by an amount greater than the hysteresis setting (see Table 16e). Set APCCOMP_ and TCOMP_ to 0 before A_HIST is changed.
this register does not trigger a VGATE_ calculation, but the GATE_ output is immediately updated with the value that is written to this register. Bits D[15:12] are don't-care bits. The contents of the DAC Input and Output registers are not stored in the EEPROM.
DAC Input Registers (IDAC1, IDAC2) (Write Only) DAC_[11:0] set the value of the DAC Input registers (see Table 17). Bits D[15:12] are don't-care bits. The GATE_ output is not updated with this value until it is transferred to the DAC Output register. Write to the Load DAC register to transfer the contents of the DAC Input register to the DAC Output register. Write directly to the DAC Input register to manipulate the DAC output without triggering a VGATE_ calculation. DAC Input and Output Registers (IODAC1, IODAC2) (Write Only) DAC_[11:0] set the values of the input and output registers of the respective DACs (see Table 18). Writing to
54
PGA Calibration Control Register (PGACAL) (Write Only) The PGA Calibration Control register selects the PGA calibration mode and controls when calibrations occur (see Table 19). Bits D[15:3] are don't-care bits. The data contained in the PGA Calibration Control register is stored in the EEPROM. Set TRACK to 0 to perform the next PGA calibration in acquisition mode, and set TRACK to 1 to perform the next PGA calibration in tracking mode. Leave TRACK set to 0 the first time a PGA calibration is performed after power-up. Set DOCAL to 1 to perform calibrations of PGA1 and PGA2. DOCAL resets to 0 after the PGA calibration routine is complete. If either channel is powered down, the PGA calibration for that channel is bypassed.
______________________________________________________________________________________
Dual RF LDMOS Bias Controller with Nonvolatile Memory MAX11008
Table 13d. VGATE_ Calculation Trigger Condition
SOFTWARE CONFIGURATION SETTINGS TCOMP_ = 1 APCCOMP_ = 1 APCSRC_1 = 0 APCSRC_0 = 0 TCOMP_ = 1 APCCOMP_ = 1 APCSRC_1 = 1 APCSRC_0 = X TCOMP_ = 1 APCCOMP_ = 0 APCSRC_1 = X APCSRC_0 = X TCOMP = 0 APCCOMP = 1 APCSRC_1 = 0 APCSRC_0 = 0 TCOMP = 0 APCCOMP = 1 APCSRC_1 = 1 APCSRC_0 = X TCOMP = 0 APCCOMP = 0 APCSRC_1 = X APCSRC_0 = X * * * VGATE_ CALCULATION TRIGGER CONDITIONS Temperature measurements vary enough to exceed the hysteresis settings A write command to the APC_ Parameter register A write command to the VSET register through the serial interface
* Temperature measurements vary enough to exceed the hysteresis settings * Current-sense measurements or ADCIN_ samples vary enough to cause a new LUT value to be retrieved (depends on PSIZE and INT values in the LUT Configuration registers) * A write command to the VSET register through the serial interface * Temperature measurements vary enough to exceed the hysteresis settings * A write command to the VSET register through the serial interface
* A write command to the APC_ register through the serial interface * A write command to the VSET register through the serial interface
* Current-sense measurements vary enough to exceed the hysteresis settings * A write command to the VSET register through the serial interface
* A write command to the VSET register through the serial interface
X = Don't care.
Set SELFTIME to 1 and DOCAL to 1 to perform calibrations of PGA1 and PGA2 on a self-timed periodic basis (approximately every 13ms). When SELFTIME is set to 0, writing to PGACAL with DOCAL set to 1 manually triggers PGA calibration.
ADC Conversion Register (ADCCON) (Write Only) Write to the ADC Conversion register to select which channels are converted and to set the ADC for continuous conversion of each selected channel (see Table 20). Set CONCONV to 1 to configure the ADC to perform continuous conversions of the selected channels.
Bits D[6:0] select which channels are converted. Select which channel is to be converted by setting the corresponding bit to 1. Any channel that is set to 0 will not be converted. Depending on the ADC clock mode that is selected in the Hardware Configuration register (see the Internally Timed Acquisitions and Conversions section and Table 11), writing to the ADC Conversion register initiates an ADC conversion of the selected channel or the next selected channel in the sequence if more than one channel is selected (see the ADC Conversion Scheduling section). Bits D[15:8] are don'tcare bits.
______________________________________________________________________________________
55
Dual RF LDMOS Bias Controller with Nonvolatile Memory MAX11008
Table 14. Alarm Hardware Configuration Register
DATA BITS D[15:11] BIT NAME Unused RESET STATE XXXXX Unused bits. ADC average monitor enable bit. Set AVGMON to 1 to average the ADC sample. The ADC average is written to the FIFO. The tracking average has a unique channel tag and is distinguishable from the raw sample. The average monitoring is automatically suspended when in LUT streaming and message modes. ADCMON and AVGMON cannot be active at the same time. Channel 2 temperature alarm select bit. Set to 1 to configure the channel 2 temperature alarm to monitor the internal temperature sensor instead of the external temperature sensor. The status of the alarm is indicated by the channel 2 temperature flags in the flag register. The current-sense alarm for channel 2 is no longer available in this mode. ALARM comparator enable bit. Set to 1 to configure the ALARM output for comparator mode. Set to 0 to configure the ALARM output for interrupt mode. ALARM hysteresis select bits. See Table 14a. Channel 2 clamp-mode select bits. See Table 14b. Channel 1 clamp-mode select bits. See Table 14b. ALARM polarity select bit. Set to 1 to configure the ALARM output to be active-low. Set to 0 for active-high. ALARM output configuration select bit. Set to 1 for open-drain ALARM output. Set to 0 for push-pull ALARM output. FUNCTION
D10*
AVGMON
0
D9
INTEMP2
0
D8 D[7:6] D[5:4] D[3:2] D1 D0
ALMCOMP ALMHYST[1:0] ALMCLMP2[1:0 ALMCLMP1[1:0 ALMPOL ALMOPEN
0 00 00 00 0 0
X = Don't care.
*Write-only.
Table 14a. ALARM Hysteresis Select Bits (ALMHYST[1:0])
ALMHYST1 0 0 1 1 ALMHYST0 0 1 0 1 8 LSBs of hysteresis (+1C) 16 LSBs of hysteresis (+2C) 32 LSBs of hysteresis (+4C) 64 LSBs of hysteresis (+8C) ALARM HYSTERESIS SELECT
Software Shutdown Register (SSHUT) (Write Only) Write to the Software Shutdown register to power down the MAX11008 or specific sections of the MAX11008 to optimize power consumption (see Table 21). Bits D[15:6] are don't-care bits. Set FULLPD to 1 to power down all sections of the MAX11008 except for the serial interface. FULLPD takes precedence over all of the other power-down bits. Any commands (other than writing to the Software Shutdown register) sent to the MAX11008 while in full power-down mode are ignored. Set FULLPD to 0 to exit full power-down mode.
Set FBGON to 1 to force the internal voltage reference to remain powered up. This optimizes ADC conversion times since the internal voltage reference does not automatically power down in between conversions (power-up time for internal reference is typically 50s), but it also increases the power dissipation of the MAX11008. Set FBGON to 0 to power the internal voltage reference on and off as required by the ADC. Set WDGPD to 1 to power down the internal watchdog oscillator. The watchdog oscillator monitors the internal circuit's operation. It is not accessible outside of the MAX11008. Power down the internal watchdog ocillator when entering LUS streaming mode.
56
______________________________________________________________________________________
Dual RF LDMOS Bias Controller with Nonvolatile Memory MAX11008
Table 14b. Clamp-Mode Select Bits (ALMCLMP[1:0])
ALMCLMP1 0 0 ALMCLMP0 0 1 CLAMP MODE Alarm report Clamp gate Clamp gate on alarm with clear ALARM CLAMP SELECT If an alarm is triggered by a current or temperature conversion, the ALARM bit is set (1) in the alarm Flag register. No further action is taken. The GATE_ output clamps to AGND immediately, independent of alarms. The GATE_ output is clamped to AGND in response to any alarm trip on the corresponding channel. A subsequent ADC conversion, which shows the alarm condition has been removed, clears the clamp condition automatically. The GATE_ output is clamped to AGND in response to any alarm trip on the corresponding channel. The clamp does not clear automatically. If an alarm is triggered, the 11 value is overwritten to 01, causing a permanent clamp condition. A subsequent write to rest ALMCLMP[1:0] to 11 clears the clamp condition.
1
0
1
1
Clamp gate on alarm without clear
Table 15. VSET Registers
DATA BITS D[15:12] D[11:0] BIT NAME Unused VSET_[11:0] RESET STATE 0000 NA Unused bits. VSET_ bits. FUNCTION
NA = Not applicable.
Set OSCPD to 1 to power down the internal oscillator. When the internal oscillator is powered down, all internal operations of the MAX11008 are suspended. OSCPD automatically resets back to 0 when the next command is received by the serial interface. Powering down the oscillator and leaving the watchdog oscillator powered up may allow the watchdog timer to overflow. The overflow of the watchdog timer forces the MAX11008 to reset, reinitialize, and transmit a pulse on the ALARM output. Set DAC_PD to 1 to power down DAC_ and PGA_. Values can still be written to the DAC Input and Output registers when DAC_ is powered down.
transfer the contents of the DAC1 Input register to the DAC1 Output register. Set LDDACCH2 to 1 to transfer the contents of the DAC2 Input register to the DAC2 Output register. Bits D[15:2] are don't-care bits.
Load DAC Register (LDAC) (Write Only) Write to the Load DAC register to transfer the contents of the DAC input registers to the DAC output registers (see Table 22). The Load DAC register is a write-only register that executes when written to, but does not have storage. This function facilitates the simultaneous update of both DAC outputs. Set LDDACCH1 to 1 to
Message Register (MR) (Write Only) Write to the Message register to place the MAX11008 into message mode (see the Message Mode section and Table 23). MSGL[7:0] specifies the number of data words (each data word is 16 bits long) to be read from the EEPROM. The message read from the EEPROM is between 1 and 256 words long. Write MSGL = 0 (decimal) to request a message length of 1, MSGL = 255 (decimal) to request a message length of 256. MSGA[7:0] specifies the starting address of the message to be read from the EEPROM. FIFO Register (FIFO) (Read/Write) When in message mode or ADC monitoring mode, the FIFO register is a read-only register (see Table 24). In message mode, the specified EEPROM data words (each data word is 16 bits long) are copied into the
______________________________________________________________________________________
57
Dual RF LDMOS Bias Controller with Nonvolatile Memory
FIFO (see the Message Mode section) so that the data words can be read out through the serial interface. In message mode the FIFO is eight deep, and does not overflow. In ADC/average monitoring mode, the 12-bit ADC conversion results of each selected channel are copied into the FIFO so that the conversion results can be read out through the serial interface (see the ADC Monitoring Mode section). Each conversion result includes a 4-bit channel tag that indicates the source of the conversion (see Table 24a). In ADC/average monitoring mode the
MAX11008
FIFO is seven deep, and always contains the most recent seven data items. The oldest data placed into the FIFO is always read out first. When in LUT streaming mode, the FIFO register is a write-only register. In LUT streaming mode, write the data word that is to be written to the EEPROM into the FIFO register (see the LUT Streaming Mode section). In this mode the FIFO is eight deep, and is prevented from overflow. Data written to the FIFO when it is full is ignored.
Table 16a. APC Parameter Register (Valid when APCSRC[1:0] = 00)
DATA BITS D[15:12] D[11:0] BIT NAME T_HIST[3:0] APC[11:0] RESET STATE 0000 NA FUNCTION Hysteresis limit bits. The T_HIST[3:0] bits set the temperature hysteresis limits for both channel 1 and channel 2 for VGATE_ calculations. See Table 14a. APC parameter bits.
NA = Not applicable.
Table 16b. APC Parameter Register (Valid when APCSRC[1:0] = 10 or 11)
DATA BITS D[15:12] D[11:8] D7 BIT NAME T_HIST[3:0] Unused A_AVGCTL RESET STATE 0 NA 0 FUNCTION Temperature hysteresis limit bits. The T_HIST[3:0] bits set the temperature hysteresis limits for both channel 1 and channel 2 for VGATE_ calculations. See Table 16c. Set APCCOMP_ and TCOMP_ to 0 before T_HIST is changed. -- APC parameter bit. Controls the averaging equation for channel 1 and channel 2. Set A_AVGCLT to 0 for average plus 1/16 difference. Set A_AVGCLT to 1 for average plus 1/4 difference. APC difference limiter bits. Set A_LIMIT[2:0] to enable the difference limiter for channel 1 and channel 2 APC averaging. See Table 16d. APC hysteresis limit bits. The A_HIST[3:0] bits set the APC hysteresis limits for both channel 1 and channel 2 for VGATE_ calculations. See Table 16e. Set APCCOMP_ and TCOMP_ to 0 before A_HIST is changed.
D[6:4]
A_LIMIT[2:0]
0
D[3:0]
A_HIST[3:0]
0
58
______________________________________________________________________________________
Dual RF LDMOS Bias Controller with Nonvolatile Memory MAX11008
Table 16c. Temperature Hysteresis Limit Register Bits
TxHIST[3:0] 0000 0001 0010 0011 0100 0101 0110 0111 1000 1001 1010 1011 1100 1101 1110 1111 FUNCTION 1 LSB (1/8 of a degree). I.e., no hysteresis 2 LSBs (1/4 of a degree) 3 LSBs (3/8 of a degree) 4 LSBs (1/2 of a degree) 5 LSBs (5/8 of a degree) 6 LSBs (3/4 of a degree) 7 LSBs (7/8 of a degree) 8 LSBs (1 degree) 9 LSBs (1 1/8 of a degree) 10 LSBs (1 1/4 of a degree) 11 LSBs (1 3/8 of a degree) 12 LSBs (1 1/2 of a degree) 13 LSBs (1 5/8 of a degree) 14 LSBs (1 3/4 of a degree) 15 LSBs (1 7/8 of a degree) 16 LSBs (2 degrees)
Table 16e. APC Hysteresis Limit Register Bits
AxHIST[3:0] 0000 0001 0010 0011 0100 0101 0110 0111 1000 1001 1010 1011 1100 1101 1110 1111 2 LSBs 3 LSBs 4 LSBs 5 LSBs 6 LSBs 7 LSBs 8 LSBs 9 LSBs 10 LSBs 11 LSBs 12 LSBs 13 LSBs 14 LSBs 15 LSBs 16 LSBs FUNCTION 1 LSB. I.e., no hysteresis
Table 16d. APC Difference Limiter for Averaging
A_LIMIT[2:0] 000 001 010 011 100 101 110 111 FUNCTION No limiting is applied Difference is limited to 1 LSB (1/8 of a degree) Difference is limited to 3 LSBs (3/8 of a degree) Difference is limited to 7 LSBs (7/8 of a degree) Difference is limited to 15 LSBs (1 7/8 degrees) Difference is limited to 31 LSBs (3 7/8 degrees) Difference is limited to 63 LSBs (7 7/8 degrees) Difference is limited to 127 LSBs (15 7/8 degrees)
______________________________________________________________________________________
59
Dual RF LDMOS Bias Controller with Nonvolatile Memory
Software Clear Register (SCLR) (Write Only) Write to the Software Clear register to clear the internal registers with a single write command (see Table 25). Bits D[15:7] are don't-care bits. FULLRST and ARMRST operate in conjunction with each other to allow a full hardware reset of the device. If ARMRST has been set to 1 by a previous write command, setting FULLRST to 1 initiates a full reset of the MAX11008. ARMRST can only be set to 1 when the FULLRST is set to 0 in the same data word. This provides protection from accidental resets since two write commands are needed to initiate a full reset. To perform a full reset, first write a data word with FULLRST set to 0 and ARMRST set to 1. Then write another data word with FULLRST set to 1 and ARMRST set to 0. Set the ALMSCLR bit to 1 to clear all alarm threshold registers and their respective flags in the Flag register.
Set the AVGCLR bit to 1 to clear the average and hysteresis memory for all lookup operations. Setting the AVGCLR bit reacquires the average and performs a new LUT operation.
MAX11008
Set FIFOCLR to 1 to clear the FIFO. This function is instantaneous and does not affect BUSY. Set DAC_RST to 1 to clear the contents of the DAC Input and Output registers. This function is instantaneous and does not affect BUSY.
Flag Register (FLAG) (Read Only) The Flag register indicates if the MAX11008 is currently in the middle of an internal calculation, if a full reset has been performed, and the status of the FIFO. The Flag register also indicates the source of an alarm when an alarm threshold is exceeded (see Table 26). Bits D[15:12] are don't-care bits. ALUBUSY is set to 1 when the MAX11008 is performing an internal calculation (see the Busy Output section) and returns to 0 when the calculation is complete. RESTART is set to 1 if a full reset or watchdog initiated reset was performed (see the Software Clear Register (SCLR) (Write Only) section) and returns to 0 after the Flag register is read. RESTART is initially set to 0 when power is first applied (a power-on reset condition).
Table 17. DAC Input Registers
DATA BITS D[15:12] D[11:0] BIT NAME Unused DACIP_[11:0] RESET STATE XXXX NA Unused bits. DAC Input register data bits. FUNCTION
X = Don't care. NA = Not applicable.
Table 18. DAC Input and Output Register
DATA BITS D[15:12] D[11:0] BIT NAME Unused DAC_[11:0] RESET STATE X NA Unused bits. DAC Input and Output register data bits. FUNCTION
X = Don't care. NA = Not applicable.
60
______________________________________________________________________________________
Dual RF LDMOS Bias Controller with Nonvolatile Memory
FIFOEMP is set to 1 when the FIFO is empty. Once data is placed into the FIFO, FIFOEMP is set to 0. When in ADC monitoring mode, FIFOOVER is set to 1 when a FIFO overflow occurs. FIFOOVER remains at 1, even if the FIFO is subsequently read and no longer full. FIFOOVER is reset by reading the Flag register. When in LUT streaming mode or message mode, the FIFO is not permitted to overflow and FIFOOVER then denotes when the FIFO is full. FIFOOVER is set to 1 when the FIFO is full and immediately returns to 0 once a data word is moved out of the FIFO. HIGHI_ is set to 1 when the individual channel 1 and channel 2 current-sense measurements exceed the individual channel 1 and channel 2 high current threshold and returns to 0 after the Flag register is read. HIGHI2 is replaced by HIGHT2 when the INTEMP2 bit is set in the Alarm Hardware Configuration register.
MAX11008
Table 19. PGA Calibration Control Register
DATA BITS D[15:3] D2 BIT NAME Unused TRACK RESET STATE X 0 Unused bits. Acquisition/tracking bit. Set to 0 to force the next current-sense calibration to run in acquisition mode. Set to 1 to force the next calibration to run in tracking mode. Set TRACK to 0 the first time through a calibration. Single calibration select bit. Set to 1 perform single or self-timed calibrations of PGA1 and PGA2. DOCAL resets to 0 after calibration. Self-timed calibration select bit. Set to 1 to perform calibrations of PGA1 and PGA2 on a self-timed periodic basis (approximately every 13ms). When set to 0, calibrations only occur when DOCAL is set to 1. FUNCTION
D1
DOCAL
0
D0
SELFTIME
0
X = Don't care. NA = Not applicable.
Table 20. ADC Conversion Register
DATA BITS D[15:8] D7 D6 D5 D4 D3 D2 D1 D0 BIT NAME Unused CONCONV ADCIN2 CS2 EXTEMP2 ADCIN1 CS1 EXTEMP1 INTEMP RESET STATE X 0 0 0 0 0 0 0 0 Unused bits. Continuous conversion select bit. Set to 1 to perform continuous conversions of the selected channels. ADCIN2 conversion select bit. CS2 current-sense conversion select bit. External temperature sensor 2 conversion select bit. ADCIN1 conversion select bit. CS1 current-sense conversion select bit. External temperature sensor 1 conversion select bit. Internal temperature sensor conversion select bit. FUNCTION
X = Don't care. NA = Not applicable.
______________________________________________________________________________________
61
Dual RF LDMOS Bias Controller with Nonvolatile Memory
LOWI_ is set to 1 when the individual channel 1 and channel 2 current-sense measurements exceed the individual channel 1 and channel 2 low current threshold and returns to 0 after the Flag register is read. LOWI2 is replaced by LOWT2 when the INTEMP2 bit is set in the Alarm Hardware Configuration register. HIGHT_ is set to 1 when the individual channel 1 and channel 2 temperature measurements exceed the individual channel 1 and channel 2 high temperature threshold and returns to 0 after the Flag register is read. HIGHT2 is unused when the INTEMP2 bit is set in the Alarm Hardware Configuration register. When INTEMP2 is set, HIGHT2 returns a 1 or 0. LOWT_ is set to 1 when the individual channel 1 and channel 2 temperature measurements exceed the individual channel 1 and channel 2 low temperature threshold and returns to 0 after the Flag register is read. LOWT2 is unused when the INTEMP2 bit is set in the Alarm Hardware Configuration register. When INTEMP2 is set, LOWT2 returns a 1 or 0.
MAX11008
LUTSL[7:0] to 255 instructs the MAX11008 to expect a LUT of length 256. Bits LUTSA[7:0] specify the starting address of the data that is to be written to the EEPROM. The MAX11008 counts the number of words that are written to the FIFO. The device remains in LUT streaming mode until all the indicated words are received.
Applications Information
External Temperature Sensor Considerations
To optimize the performance of the temperature sensors, place the MAX11008 as close as possible to the remote diodes. Traces of DXP_ and DXN_ should not be routed across noisy digital lines and buses. Minimize the noise that is coupled into the DXP_ and DXN_ traces by shielding them with ground traces on each side of the pair of temperature sensor traces (see Figure 23). Routing the DXP_ and DXN_ traces over the analog ground plane (AGND) also helps minimize noise. Use wide traces (10 mils or wider) to minimize the trace inductance of the DXP_ and DXN_ traces.
LUT Streaming Register (LUTSTRM) (Write Only) Write to the LUT Streaming register to place the MAX11008 into LUT streaming mode (see the LUT Streaming Mode section and Table 27). Bits LUTSL[7:0] specify the number of data words (each data word is 16 bits long) that are to be written to the EEPROM. The minimum and maximum number of data words that can be written to the EEPROM are 1 and 256, respectively. Setting LUTSL[7:0] to 0 instructs the MAX11008 to expect a LUT of length 1. Setting
Layout, Grounding, and Bypassing
Ensure that digital and analog signal lines are separated from each other. Use separate ground planes for AGND and DGND. Connect both ground planes to a single point on the PCB (star ground point). Do not run analog and digital signals parallel to one another (especially clock signals), and do not run digital lines underneath the MAX11008 package. High-frequency noise in the AVDD power supply may affect performance.
Table 21. Software Shutdown Register
DATA BITS D[15:6] D5 BIT NAME Unused FULLPD RESET STATE X 0 Unused bits. Full power-down bit. Set to 1 to power down all sections of the MAX11008. Set to 0 to exit full power-down mode. Reference power-on bit. Set to 1 to force internal voltage reference to remain on at all times (except when FULLPD is set to 1). Set to 0 to only power internal reference when an ADC conversion is performed. Watchdog oscillator power-down bit. Set to 1 to power down internal watchdog oscillator. Internal oscillator power-down bit. Set to 1 to power down internal oscillator. Channel 2 DAC power-down bit. Set to 1 to power down DAC2 and PGA2. Channel 1 DAC power-down bit. Set to 1 to power down DAC1 and PGA1. FUNCTION
D4
FBGON
0
D3 D2 D1 D0
WDGPD OSCPD DAC2PD DAC1PD
0 0 1 1
X = Don't care.
62
______________________________________________________________________________________
Dual RF LDMOS Bias Controller with Nonvolatile Memory
Bypass the AV DD supply with a 0.1F capacitor to AGND, and place the capacitor as physically close as possible to the AVDD input. Bypass the DVDD supply with a 0.1F capacitor to DGND, and place the capacitor as physically close as possible to the DVDD input. If the power supply is very noisy, connect a 10 resistor in series with the supply input to improve power-supply filtering.
MAX11008
Table 22. Load DAC Register
DATA BITS D[15:2] D1 D0 BIT NAME Unused LDDACCH2 LDDACCH1 RESET STATE X NA NA Unused bits. Channel 2 load DAC bit. Set to 1 to transfer DAC2 input register contents to DAC2 output register. Channel 1 load DAC bit. Set to 1 to transfer DAC1 input register contents to DAC1 output register. FUNCTION
X = Don't care. NA = Not applicable.
Table 23. Message Register
DATA BITS D[15:8] D[7:0] BIT NAME MSGL[7:0] MSGA[7:0] RESET STATE 0000 0000 0000 0000 FUNCTION Message length bits. Specifies the length of the message to be read from the EEPROM in words. The actual length read is MSGL + 1. Message address bits. Specifies the starting address of the message to be read from the EEPROM.
Table 24. FIFO Read Register
DATA BITS D[15:12] D[11:0] BIT NAME DATA[15:12]/ TAG[3:0] DATA[11:0] RESET STATE 0000 0000 0000 0000 FUNCTION Message mode data bits/LUT streaming mode data bits/ADC channel tag bits. See Table 24a. Message data bits/ADC data bits.
AGND TRACE 10mils DXP_ TRACE 10mils
DXN_ TRACE 10mils AGND TRACE
10mils
Figure 23. Recommended DXP_ and DXN_ PCB Trace Layout
______________________________________________________________________________________ 63
Dual RF LDMOS Bias Controller with Nonvolatile Memory MAX11008
Table 24a. FIFO Read Channel Tags (TAG[3:0])
CHANNEL TAGS TAG3 0 0 0 0 0 0 0 1 1 1 1 1 1 TAG2 0 0 0 0 1 1 1 0 0 0 0 1 1 TAG1 0 0 1 1 0 0 1 0 0 1 1 1 1 TAG0 0 1 0 1 0 1 0 0 1 0 1 0 1 ADC DATA DESCRIPTION Internal temperature sensor measurement. ADCMON bit must be set. Channel 1 external temperature measurement. ADCMON bit must be set. Channel 1 drain current measurement. ADCMON bit must be set. ADCIN1 input measurement. ADCMON bit must be set. Channel 2 external temperature measurement. ADCMON bit must be set. Channel 2 drain current measurement. ADCMON bit must be set. ADCIN2 input measurement. ADCMON bit must be set. Channel 1 temperature average. AVGMON bit must be set. Channel 1 APC average. AVGMON bit must be set. Channel 2 temperature average. AVGMON bit must be set. Channel 2 APC average. AVGMON bit must be set. Error tag. Indicates data may be corrupted. Empty FIFO tag. This tag appears during a FIFO read if the FIFO is empty at the time the read command is made. In addition to this channel tag, the current value of the Flag register is provided in place of the ADC data.
Table 25. Software Clear Register
DATA BITS D[15:7] D6 BIT NAME Unused FULLRST RESET STATE X NA Unused bits. Full reset bit. If ARMRST has been set to 1 in a previous write operation, set FULLRST to 1 to perform a full reset. Otherwise, a full reset will not be performed and the value of FULLRST remains unchanged. Full reset enable bit. Set to 1 at the same time FULLRST is set to 0 to enable full reset capabilities. Alarm threshold registers reset bit. Set to 1 to clear all alarm threshold registers and their respective flags in the Flag register. Average clear enable bit. Set the AVGCLR bit to 1 to clear the average and hysteresis memory for all lookup operations. FIFO clear bit. Set to 1 to clear the FIFO. DAC 2 reset bit. Set to 1 to clear DAC2 input and output registers. DAC 1 reset bit. Set to 1 to clear DAC1 input and output registers. FUNCTION
D5 D4 D3 D2 D1 D0
ARMRST ALMSCLR AVGCLR FIFOCLR DAC2RST DAC1RST
0 NA NA NA NA NA
X = Don't care. NA = Not applicable.
64
______________________________________________________________________________________
Dual RF LDMOS Bias Controller with Nonvolatile Memory MAX11008
Table 26. Flag Register
DATA BITS D[15:12] D11 D10 D9 BIT NAME Reserved ALUBUSY RESTART FIFOEMP RESET STATE X 1 0 0 Reserved bits. ALU busy bit. Set to 1 when the MAX11008 is performing internal calculations. Set to 0 after calculations are complete. Restart flag bit. Set to 1 after a full software reset is performed. Returns to 0 after the Flag register is read. Set to 0 after initial power-up. FIFO empty flag bit. Set to 1 when FIFO is empty. Set to 0 when data is placed into the FIFO. FIFO overflow/full flag bit. Set to 1 when in ADC monitoring mode and FIFO overflow occurs. Returns to 0 when after Flag register is read. Set to 1 when in LUT streaming mode and the FIFO is full. Returns to 0 after a data word is moved out of the FIFO. Channel 2 high current flag bit. Set to 1 when the channel 2 current-sense measurement exceeds the channel 2 high current threshold and returns to 0 after the Flag register is read. When the INTEMP2 bit is set, this bit functions as the internal temperature sensor's alarm status. Channel 2 low current flag bit. Set to 1 when the channel 2 current-sense measurement exceeds the channel 2 low current threshold and returns to 0 after the Flag register is read. When the INTEMP2 bit is set, this bit functions as the internal temperature sensor's alarm status. Channel 2 high temperature flag bit. Set to 1 when the channel 2 temperature measurement exceeds the channel 2 high temperature threshold and returns to 0 after the Flag register is read. When the INTEMP2 bit is set, this bit is unused and may read as 1 or 0. Channel 2 low temperature flag bit. Set to 1 when the channel 2 temperature measurement exceeds the channel 2 low temperature threshold and returns to 0 after the Flag register is read. When the INTEMP2 bit is set, this bit is unused and may read as a 1 or 0. Channel 1 high current flag bit. Set to 1 when the channel 1 current-sense measurement exceeds the channel 1 high current threshold and returns to 0 after the Flag register is read. Channel 1 low current flag bit. Set to 1 when the channel 1 current-sense measurement exceeds the channel 1 low current threshold and returns to 0 after the Flag register is read. Channel 1 high temperature flag bit. Set to 1 when the channel 1 temperature measurement exceeds the channel 1 high temperature threshold and returns to 0 after the Flag register is read. Channel 1 low temperature flag bit. Set to 1 when the channel 1 temperature measurement exceeds the channel 1 low temperature threshold and returns to 0 after the Flag register is read. FUNCTION
D8
FIFOOVER
0
D7
HIGHI2
0
D6
LOWI2
0
D5
HIGHT2
0
D4
LOWT2
0
D3
HIGHI1
0
D2
LOWI1
0
D1
HIGHT1
0
D0
LOWT1
0
X = Don't care.
______________________________________________________________________________________
65
Dual RF LDMOS Bias Controller with Nonvolatile Memory MAX11008
Table 27. LUT Streaming Register
DATA BITS D[15:8] BIT NAME LUTSL[7:0] RESET STATE 0 FUNCTION LUT length bits. Specifies the number of data words to be written to the EEPROM. Up to 256 data words can be written. The actual length written is LUTSL + 1. LUT address bits. Specifies the starting address of the data to be written to the EEPROM.
D[7:0]
LUTSA[7:0]
0
Definitions
Integral Nonlinearity
Integral nonlinearity (INL) is the deviation of the values on an actual transfer function from a straight line. This straight line can be either a best-straight-line fit or a line drawn between the end points of the transfer function, once offset and gain errors have been nullified. INL for the MAX11008 is measured using the end-point method.
only and results directly from the ADC's resolution (N bits): SNR = (6.02 x N + 1.76)dB In reality, there are other noise sources besides quantization noise, including thermal noise, reference noise, clock jitter, etc. Therefore, SNR is calculated by taking the ratio of the RMS signal to the RMS noise. RMS noise includes all spectral components to the Nyquist frequency excluding the fundamental, the first five harmonics, and the DC offset.
Differential Nonlinearity
Differential nonlinearity (DNL) is the difference between an actual step width and the ideal value of 1 LSB. A DNL error specification of greater than -1 LSB guarantees no missing codes and a monotonic transfer function.
Signal-to-Noise Plus Distortion
Signal-to-noise plus distortion (SINAD) is the ratio of the fundamental input frequency's RMS amplitude to the RMS noise plus distortion. RMS noise plus distortion includes all spectral components to the Nyquist frequency excluding the fundamental and the DC offset: SINAD (dB) = 20 x log (SignalRMS/NoiseRMS)
ADC Offset Error
For an ideal converter, the first transition occurs at 0.5 LSB, above zero. Offset error is the amount of deviation between the measured first transition point and the ideal first transition point.
Effective Number of Bits
Effective number of bits (ENOB) indicates the global accuracy of an ADC at a specific input frequency and sampling rate. An ideal ADC's error consists of quantization noise only. With an input range equal to the fullscale range of the ADC, calculate the effective number of bits as follows: ENOB = (SINAD - 1.76)/6.02
ADC Gain Error
When a positive full-scale voltage is applied to the converter inputs, the digital output is all ones (FFFh). The transition from FFEh to FFFh occurs at 1.5 LSB below full scale. Gain error is the amount of deviation between the measured full-scale transition point and the ideal full-scale transition point with the offset error removed.
Total Harmonic Distortion
Total harmonic distortion (THD) is the ratio of the RMS sum of the first five harmonics of the input signal to the fundamental itself. This is expressed as:
Aperture Delay
Aperture delay (t AD ) is the time between the rising edge of the sampling clock and the instant when an actual sample is taken.
Signal-to-Noise Ratio
For a waveform perfectly reconstructed from digital samples, signal-to-noise ratio (SNR) is the ratio of fullscale analog input (RMS value) to the RMS quantization error (residual error). The ideal, theoretical minimum analog-to-digital noise is caused by quantization error
THD = 20 x log V22 + V32 + V4 2 + V52 + V62 / V1
where V1 is the fundamental amplitude, and V2 through V6 are the amplitudes of the first five harmonics.
66
______________________________________________________________________________________
Dual RF LDMOS Bias Controller with Nonvolatile Memory
Spurious-Free Dynamic Range
Spurious-free dynamic range (SFDR) is the ratio of the RMS amplitude of the fundamental (maximum signal component) to the RMS value of the next largest spectral component.
Pin Configuration
TOP VIEW
MAX11008
DGND
N.C.
N.C.
N.C.
N.C.
CS1-
CS1+
CS2-
DVDD
Intermodulation Distortion (IMD)
IMD is the total power of the intermodulation products relative to the total input power when two tones, f1 and f2, are present at the inputs. The intermodulation products are (f1 f2), (2 x f1), (2 x f2), (2 x f1 f2), (2 x f2 f1). The individual input tone levels are at -7dB FS.
N.C. N.C. N.C. PGAOUT1 A2/N.C. 37 38 39 40 41 42 43 44 45 46 47 48
36 35 34 33 32 31 30 29 28 27 26 25 24 23 22 21 20 19 AVDD AGND AGND AGND AVDD N.C. GATE1 GATE2 PGAOUT2 ADCIN2 ADCIN1 DXN2
Full-Power Bandwidth
A large -0.5dB FS analog input signal is applied to an ADC, and the input frequency is swept up to the point where the amplitude of the digitized conversion result has decreased by -3dB. This point is defined as the full-power input bandwidth frequency.
N.C. SCL/SCLK SDA/DIN A1/DOUT BUSY DVDD N.C.
DVDD
MAX11008
CS2+
N.C. 18 17 16 15 14 13 DXP2
EP*
+
1 DGND 2 OPSAFE1 3 A0/CS 4 CNVST 5 SPI/I2C 6 ALARM 7 OPSAFE2 8 REFDAC 9 REFADC 10 11 12 DXP1 DXN1
Chip Information
PROCESS: BiCMOS
THIN QFN 7mm x 7mm x 0.8mm
Package Information
For the latest package outline information and land patterns, go to www.maxim-ic.com/packages. PACKAGE TYPE 48 TQFN-EP PACKAGE CODE T4877M-1 DOCUMENT NO. 21-0144
*EP = EXPOSED PAD.
Maxim cannot assume responsibility for use of any circuitry other than circuitry entirely embodied in a Maxim product. No circuit patent licenses are implied. Maxim reserves the right to change the circuitry and specifications without notice at any time.
Maxim Integrated Products, 120 San Gabriel Drive, Sunnyvale, CA 94086 408-737-7600 ____________________ 67
(c) 2008 Maxim Integrated Products is a registered trademark of Maxim Integrated Products, Inc.


▲Up To Search▲   

 
Price & Availability of MAX11008

All Rights Reserved © IC-ON-LINE 2003 - 2022  

[Add Bookmark] [Contact Us] [Link exchange] [Privacy policy]
Mirror Sites :  [www.datasheet.hk]   [www.maxim4u.com]  [www.ic-on-line.cn] [www.ic-on-line.com] [www.ic-on-line.net] [www.alldatasheet.com.cn] [www.gdcy.com]  [www.gdcy.net]


 . . . . .
  We use cookies to deliver the best possible web experience and assist with our advertising efforts. By continuing to use this site, you consent to the use of cookies. For more information on cookies, please take a look at our Privacy Policy. X